[stork-users] Stork question about base URL

Mik J mikydevel at yahoo.fr
Tue Dec 12 23:28:27 UTC 2023


Hello,
When I start the stork server I have this messageWARN[2023-12-12 23:47:08]      restservice.go:354   Cannot read the base URL in the '/usr/share/stork/www/index.html' file because it is missing. If the files are located on separate machine, you need manually change the 'href' value of the <base> HTML tag to '/'  error="open /usr/share/stork/www/index.html: no such file or directory"


And indeed, this path doesn't exist on my system.
When I call the help for the stork-server there is no mension about a base URL
# stork-server --helpexcept for the rest base url --rest-base-url=Are base URL and rest base URL the same ?
The help says --rest-base-url=                                     The base URL of the UI. Specify this flag if the UI is served from a subdirectory (not the root URL). It must start and end with a slash. Example:
                                                           https://www.example.com/admin/stork/ would need to have '/admin/stork/' as the rest-base-url (default: /) [$STORK_REST_BASE_URL]
It says it's used for the user interface but how can I get rid of this error message ?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/stork-users/attachments/20231212/14ec219b/attachment.htm>


More information about the Stork-users mailing list