mirror of
https://github.com/sergeyyarkov/yarkov.tech.git
synced 2026-10-11 02:19:08 +03:00
16 lines
540 B
TOML
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 |