yarkov.tech/netlify.toml
2023-10-05 21:52:42 +03:00

16 lines
540 B
TOML

[build]
command = "npm run build"
publish = "dist"
functions = "netlify/functions"
[[redirects]]
from = "/api/*" # simplify all calls to serverless functions
to = "/.netlify/functions/:splat" # all function calls will go to this path
status = 200 # ok code
force = true # ensure to always redirect
[[redirects]]
from = "/blog/2022-11-04/ispolzovanie-web-serial-api-dlya-obscheniyas-mikrokontrollerom/"
to = "/blog/2022-11-04/ispolzovanie-web-serial-api-dlya-obscheniya-s-mikrokontrollerom/"
status = 301
force = true