We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a30178 commit 462f69fCopy full SHA for 462f69f
README.md
@@ -18,6 +18,12 @@ npm install
18
CATALOG_URL=http://path/to/catalog.json npm start -- --open
19
```
20
21
+STAC Browser defaults to using [HTML5 History
22
+Mode](https://router.vuejs.org/guide/essentials/history-mode.html), which can
23
+cause problems on certain web hosts. To use _hash mode_, set
24
+`HISTORY_MODE=hash` when running or building. This will be compatible with
25
+S3, etc.
26
+
27
## Building
28
29
```bash
src/main.js
@@ -175,7 +175,7 @@ const main = async () => {
175
176
const router = new VueRouter({
177
base: process.env.PATH_PREFIX || "/",
178
- mode: "history",
+ mode: process.env.HISTORY_MODE || "history",
179
routes
180
});
181
0 commit comments