mirror of
https://github.com/mjl-/mox.git
synced 2025-01-14 01:06:27 +03:00
make api urls relative, so they can work then being reverse proxied
for #5, found by belst
This commit is contained in:
parent
b1dcd73ebe
commit
ac3a3e496e
2 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,7 @@ fieldset { border: 0; }
|
|||
@keyframes fadeout { 0% { opacity: 1 } 100% { opacity: 0.1 } }
|
||||
</style>
|
||||
<script src="api/sherpa.js"></script>
|
||||
<script>api._sherpa.baseurl = 'api/'</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="page">Loading...</div>
|
||||
|
|
|
@ -24,6 +24,7 @@ fieldset { border: 0; }
|
|||
@keyframes fadeout { 0% { opacity: 1 } 100% { opacity: 0.1 } }
|
||||
</style>
|
||||
<script src="api/sherpa.js"></script>
|
||||
<script>api._sherpa.baseurl = 'api/'</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="page">Loading...</div>
|
||||
|
|
Loading…
Reference in a new issue