CaiJimmy / hugo-theme-stack

Card-style Hugo theme designed for bloggers
https://stack.jimmycai.com
GNU General Public License v3.0
4.89k stars 1.6k forks source link

If you change language you'll be redirect to localhost instead of domain #926

Closed matteocavestri closed 8 months ago

matteocavestri commented 8 months ago

What happened?

I've set up this repo to replicate the bug (or my own error). You can reach the demo site at https://demo-stack.cavestri.net. The problem/bug is:

Am I doing something wrong?

Hugo version

0.113.0

Theme version

3.21.0

What browsers are you seeing the problem on?

Firefox, Chrome

More information about the browser

Firefox 121.0 Chromium 120.0

Relevant log output

No response

Link to Minimal Reproducible Example

https://github.com/matteocavestri/hugo-theme-stack-starter.git

matteocavestri commented 8 months ago

It was my mistake. I was hosting it using hugo serve command :( I resolved my issue using nginx container. I'll close the issue. If you want to use my dockerfile to deploy visit my repo