Skip to content
Snippets Groups Projects
Commit 45a1b610 authored by ale's avatar ale
Browse files

use system-wide install for static content

parent 76d2f2fc
No related branches found
No related tags found
No related merge requests found
......@@ -15,8 +15,8 @@ var (
httpPort = flag.Int("http-port", 80, "HTTP port")
publicIp = flag.String("ip", "127.0.0.1", "Public IP for this machine")
staticDir = flag.String("static-dir", "./static", "Static content directory")
templateDir = flag.String("template-dir", "./templates", "HTML templates directory")
staticDir = flag.String("static-dir", "/usr/share/radioai/htdocs/static", "Static content directory")
templateDir = flag.String("template-dir", "/usr/share/radioai/htdocs/templates", "HTML templates directory")
// Default DNS TTL (seconds).
dnsTtl = 5
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment