The project's root domain (neomjs.com) currently uses a meta refresh, which is detrimental to SEO as it provides no content for crawlers at the most important URL.
To fix this within the constraints of GitHub Pages hosting and the need to preserve the repository's file structure for the live IDE, we will modify the deployment process.
Acceptance Criteria
- The build/deployment script needs to be modified.
- Instead of creating a redirect file, the script must copy the production portal app's
index.html (/dist/production/apps/portal/index.html) to the repository root (/index.html).
- The script must then inject a
<base> tag into the <head> of this new root index.html file.
- The tag should be:
<base href="/dist/production/apps/portal/">
- The outcome should be tested thoroughly to ensure:
- Visiting
neomjs.com directly serves the portal app.
- All application assets (JS, CSS, workers) load correctly.
- Other top-level paths (e.g.,
/apps/covid/, /examples/) remain accessible and functional.
The project's root domain (
neomjs.com) currently uses a meta refresh, which is detrimental to SEO as it provides no content for crawlers at the most important URL.To fix this within the constraints of GitHub Pages hosting and the need to preserve the repository's file structure for the live IDE, we will modify the deployment process.
Acceptance Criteria
index.html(/dist/production/apps/portal/index.html) to the repository root (/index.html).<base>tag into the<head>of this new rootindex.htmlfile.<base href="/dist/production/apps/portal/">neomjs.comdirectly serves the portal app./apps/covid/,/examples/) remain accessible and functional.