mirror of
https://github.com/chinchang/web-maker.git
synced 2025-06-15 00:30:40 +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.
|
# been specified, include it in the publish directory path.
|
||||||
publish = "dist"
|
publish = "dist"
|
||||||
|
|
||||||
# The following redirect is intended for use with most SPAs that handle
|
|
||||||
# routing internally.
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "https://preview.webmaker.app/*"
|
from = "https://preview.webmaker.app/*"
|
||||||
to = "/create/preview/:splat"
|
to = "/create/preview/:splat"
|
||||||
status = 200
|
status = 200
|
||||||
force = true
|
force = true
|
||||||
|
|
||||||
|
[[redirects]]
|
||||||
|
from = "https://preview.v6--webmaker.netlify.app/*"
|
||||||
|
to = "/create/preview/:splat"
|
||||||
|
status = 200
|
||||||
|
force = true
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "/create/*"
|
from = "/create/*"
|
||||||
to = "/create/index.html"
|
to = "/create/index.html"
|
||||||
|
Reference in New Issue
Block a user