Commit Graph

8 Commits

Author SHA1 Message Date
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