You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to deploy locally within a closed domain network and having some trouble locating main.css. Network inspection shows the request to http://localhost:1313/css/main.css. I am able to reach the right main.css via http://ot-dev.senstar-stellar.local/css/main.css.
Everything works as expected on the local device.
actions taken:
package.json line 9 changed to; "dev": "hugo serve --bind=0.0.0.0",
config.toml line 1 changed to; baseURL = 'http://ot-dev.senstar-stellar.local'
url accessable from another device on network
The text was updated successfully, but these errors were encountered:
Does the page load when you access via network on http://ot-dev.senstar-stellar.local?
In Hugo, when you set the base URL, all the paths for html/css/js files are built with the baseURL prefix, and so, it won't be accessible from localhost:1313
page loads when I access http://ot-dev.senstar-stellar.local except main.css because it is trying to be called from http://localhost:1313/css/main.css. So I see the page without any styling.
I'm trying to deploy locally within a closed domain network and having some trouble locating main.css. Network inspection shows the request to
http://localhost:1313/css/main.css
. I am able to reach the right main.css viahttp://ot-dev.senstar-stellar.local/css/main.css
.Everything works as expected on the local device.
actions taken:
"dev": "hugo serve --bind=0.0.0.0",
baseURL = 'http://ot-dev.senstar-stellar.local'
url accessable from another device on network
The text was updated successfully, but these errors were encountered: