1
0
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:
Kushagra Gour 2024-03-22 03:40:32 +05:30
parent 578dc88a09
commit 16e20af078

View File

@ -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"