mirror of
https://github.com/chinchang/web-maker.git
synced 2025-03-15 08:09:41 +01:00
support preview env
This commit is contained in:
parent
578dc88a09
commit
16e20af078
@ -18,14 +18,18 @@ ID = "webmaker"
|
||||
# been specified, include it in the publish directory path.
|
||||
publish = "dist"
|
||||
|
||||
# The following redirect is intended for use with most SPAs that handle
|
||||
# routing internally.
|
||||
[[redirects]]
|
||||
from = "https://preview.webmaker.app/*"
|
||||
to = "/create/preview/:splat"
|
||||
status = 200
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://preview.v6--webmaker.netlify.app/*"
|
||||
to = "/create/preview/:splat"
|
||||
status = 200
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "/create/*"
|
||||
to = "/create/index.html"
|
||||
|
Loading…
x
Reference in New Issue
Block a user