mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 17:47:16 +00:00
Ensure SPA urls don't 404
This commit is contained in:
parent
04cd690bf1
commit
e1cfb5d81b
1 changed files with 19 additions and 0 deletions
19
netlify.toml
Normal file
19
netlify.toml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
[Settings]
|
||||
# Added automatically by the Netlify CLI. It has no effect during normal
|
||||
# Git-backed deploys.
|
||||
ID = "be420a16-4ef3-43b1-ac62-35869bdf8679"
|
||||
|
||||
# Settings in the [build] context are global and are applied to all contexts
|
||||
# unless otherwise overridden by more specific contexts.
|
||||
[build]
|
||||
# Directory (relative to root of your repo) that contains the deploy-ready
|
||||
# HTML files and assets generated by the build.
|
||||
publish = "build/"
|
||||
|
||||
# Default build command.
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
||||
Loading…
Add table
Add a link
Reference in a new issue