plentico / plenti

Static Site Generator with Go backend and Svelte frontend
https://plenti.co
Apache License 2.0
985 stars 50 forks source link

Site broken possibly since latest commit #245

Closed jamestagal closed 1 year ago

jamestagal commented 1 year ago

hi @jimafisk I just noticed my test Plenti site that is connected to GitLab is broken. When running the site locally it is working but when I logged in via Admin, the site didn't redirect and go through the auth process with GitLab e.i. switching the local host for the redirected url.

BTW. I saw your recent change Assign tokens to user on refresh (https://github.com/plentico/plenti/commit/b7fcda7a2dc60307747bf803ab9bb6dd4bda9e28) and I have upgraded to latest version v0.5.23.

Pls have a look when you can. Regards, Ben

jimafisk commented 1 year ago

Hi @jamestagal, this looks like this might be an issue with baseurls. Do you have a "baseurl": "/my-plenti-site/" declaration in your plenti.json file? If you share a link to your repo I'd be happy to take a look. Thanks!

jamestagal commented 1 year ago

Hi @jimafisk Yes there is a "baseurl": "/my-plenti-site/". This site is the one I added you as a project member so you should have access to it. https://gitlab.com/MyPlentiSite/my-plenti-site Thanks Ben

jimafisk commented 1 year ago

Hi @jamestagal, I'm not exactly sure what happened there, the code looked ok so I just reran your last build and that seemed to clear things up. Does it look ok on your end now?

jamestagal commented 1 year ago

Hi @jimafisk Yes all good now. Thanks 😊