Commit Graph

12 Commits

Author SHA1 Message Date
Adhityaa
432ffeebb3 api: add COMMENTO_STATIC environment variable
Closes https://gitlab.com/commento/commento-ce/issues/2
2018-06-09 14:11:31 +05:30
Adhityaa
d4f617a703 frontend: prefix cdn and origin with commento 2018-06-05 15:31:16 +05:30
Adhityaa
ee65be7bac frontend: add logout 2018-06-05 14:23:32 +05:30
Adhityaa
79f39f8094 router_static.go: inject CDN_PREFIX in JS files 2018-06-03 20:48:29 +05:30
Adhityaa
efb23778b8 router_static.go: set Content-Type header 2018-06-03 20:19:46 +05:30
Adhityaa
7e9713b35e router_static.go: use a prefix variable 2018-06-03 20:18:50 +05:30
Adhityaa
c5b29bbfe1 router_static.go: inject origin instead of api 2018-06-03 17:27:42 +05:30
Adhityaa
31d965bf12 router_static.go: redirect / to login 2018-06-03 17:09:49 +05:30
Adhityaa
a565f34842 router_static.go: use a common path string 2018-06-03 16:42:37 +05:30
Adhityaa
03f075e75a router_static.go: prefix JS with Origin 2018-06-03 16:42:05 +05:30
Adhityaa
e0f9679694 router_static.go: use different template delims
Vue.js uses the same template system {{variable}}, and that clashes
with Go's default delimiters for templates.
2018-06-03 14:03:47 +05:30
Adhityaa
a090770b73 api: Add go files
I know this is a huge commit, but I can't be bothered to check
this in part by part.
2018-05-27 23:40:46 +05:30