diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 562ccd8a56390e108590ce72820488aad0d99601..953c73d0d838ae180e83a39094e84bb84700bc6d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -47,10 +47,7 @@ build-prod: - echo "VUE_APP_RELEASE=$CI_COMMIT_REF_NAME" >> .env.production - npm install --progress=false - npm run build -- --mode production - - 'echo -e "\nDisallow: /" >> dist/robots.txt' - - 'echo -e "\nAllow: /index.html" >> dist/robots.txt' - - 'echo -e "\nAllow: /css/" >> dist/robots.txt' - - 'echo -e "\nAllow: /js/" >> dist/robots.txt' + - 'echo -e "\nDisallow:" >> dist/robots.txt' artifacts: expire_in: 1 week paths: diff --git a/public/index.html b/public/index.html index b7dfc1be078fdab046ebe5406410e8bff9d9a715..b3f15bb8bb79cd304d781e9e4b3664c31cab24e6 100644 --- a/public/index.html +++ b/public/index.html @@ -20,7 +20,7 @@ </head> <body> <noscript> - <strong>Slå på JavaScript for å få portalen Ordbøkene til å fungere.</strong> + Bokmålsordboka og Nynorskordboka viser skrivemåte og bøying i tråd med norsk rettskriving. Språkrådet og Universitetet i Bergen står bak ordbøkene. <br><strong>Slå på JavaScript for å få portalen Ordbøkene til å fungere.</strong> </noscript> <div id="app"></div> <!-- built files will be auto injected -->