mirror of
https://github.com/chinchang/web-maker.git
synced 2025-06-11 12:11:06 +02:00
support preview env
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user