1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-08-01 03:00:09 +02:00

netlify.toml: fix paths

This commit is contained in:
Kushagra Gour
2019-02-28 23:27:04 +05:30
parent 52138ada4a
commit bd76602b19

View File

@@ -7,7 +7,7 @@ ID = "webmaker"
# unless otherwise overridden by more specific contexts. # unless otherwise overridden by more specific contexts.
[build] [build]
# Default build command. # Default build command.
command = "gulp dev-release" command = "gulp dev-release && ls dist/"
# Directory to change to before starting a build. # Directory to change to before starting a build.
# This is where we will look for package.json/.nvmrc/etc. # This is where we will look for package.json/.nvmrc/etc.
@@ -22,6 +22,6 @@ ID = "webmaker"
# routing internally. # routing internally.
[[redirects]] [[redirects]]
from = "https://preview.webmaker.app/*" from = "https://preview.webmaker.app/*"
to = "/preview/:splat" to = "/app/preview/:splat"
status = 200 status = 200
force = true force = true