Environment
Cloud Service (Static)
Version
1.9.3
Describe the problem
Hello,
I wanted to test Dashy to create a dashboard for our online tools at @LydraFr, as we have many of them.
I'm more and more attracted by static sites and Jamstack for simplicity of hosting and ecology constraints.
So I wanted to use the static site with Froggit Pages, a French equivalent of GitLab Pages.
I followed the doc here : https://dashy.to/docs/deployment#hosting-with-cdn
But I have a problem because the site displays a 404 page.
But when I click on Back Home the site is displayed but the url is not correct anymore.
I also tried on the GitLab Pages but I have the same problem.
I use the Docker image to build the app in GitLab-CI.
I have declared BASE_URL to put the path of my site.
But in the console log I see:
⚠️ Warning ⚠️ Route not found: '/poc/dashy/'
I also see a CORS error that seems to be the origin of my 404 :
404:1 Access to XMLHttpRequest at 'https://app-directory.s3.amazonaws.com/hootlet/launched-app-directory-apps.json' from origin 'https://lydra.gitlab.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I don't know what to do anymore.
PS: I have no problem locally with my docker-compose.
Additional info
No response
Please tick the boxes
Welcome to Dashy, so glad you're here :) Deployment is super easy, and there are several methods available depending on what type of system you're using. If you're self-hosting, then deploying with Docker (or similar container engine) is the recommended approach.
GitLab.com
GitLab.com
Environment
Cloud Service (Static)
Version
1.9.3
Describe the problem
Hello,
I wanted to test Dashy to create a dashboard for our online tools at @LydraFr, as we have many of them.
I'm more and more attracted by static sites and Jamstack for simplicity of hosting and ecology constraints.
So I wanted to use the static site with Froggit Pages, a French equivalent of GitLab Pages.
I followed the doc here : https://dashy.to/docs/deployment#hosting-with-cdn
But I have a problem because the site displays a 404 page.
But when I click on
Back Homethe site is displayed but the url is not correct anymore.I also tried on the GitLab Pages but I have the same problem.
I use the Docker image to build the app in GitLab-CI.
I have declared
BASE_URLto put the path of my site.But in the console log I see:
⚠️ Warning ⚠️ Route not found: '/poc/dashy/'I also see a CORS error that seems to be the origin of my 404 :
404:1 Access to XMLHttpRequest at 'https://app-directory.s3.amazonaws.com/hootlet/launched-app-directory-apps.json' from origin 'https://lydra.gitlab.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.I don't know what to do anymore.
PS: I have no problem locally with my docker-compose.
Additional info
No response
Please tick the boxes