-
-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Labels
Description
I am trying to run Homer on sub path. so i use the param webapp-api-prefix
in /usr/local/homer/etc/ webapp_config.json:
"http_settings": {
"debug": false,
"gzip": true,
"gzip_static": true,
"help": "Settings for the HOMER Webapp Server. If you have gzip_static = false, please be sure that your dist directory has uncompressed .js files",
"host": "0.0.0.0",
"webapp-api-prefix":"/homer",
"path": "/",
"port": 9080,
"root": "/usr/local/homer/dist"
},
on restarting the Homer-app it start correctly which shows that param is added correctly. but on running the curl command with api-prefix it says not found:
root@debian10:/usr/local/homer/etc# curl -I http://192.168.1.104:9080/homer/
HTTP/1.1 404 Not Found
Vary: Origin
Date: Tue, 25 Feb 2025 06:08:07 GMT
But when running curl command without api-prefix it works fine.
root@debian10:/usr/local/homer/etc# curl -I http://192.168.1.104:9080
HTTP/1.1 200 OK
Accept-Ranges: bytes
Content-Length: 15804
Content-Type: text/html; charset=utf-8
Last-Modified: Fri, 28 Jun 2024 10:14:37 GMT
Vary: Origin
Date: Tue, 25 Feb 2025 06:08:13 GMT
I have test on Homer7-docker and Homer (without docker) as well, and the issue is same on both.
May b this api-prefix
param is not being recognize.