snipette-gridsome/netlify.toml

51 lines
779 B
TOML

[build]
publish = "dist"
command = "gridsome build"
[[headers]]
for = "/"
[headers.values]
cache-control = '''
public,
max-age=0,
must-revalidate'''
[[headers]]
for = "*/"
[headers.values]
cache-control = '''
public,
max-age=0,
must-revalidate'''
[[headers]]
for = "*.htm"
[headers.values]
cache-control = '''
public,
max-age=0,
must-revalidate'''
[[headers]]
for = "*.json"
[headers.values]
control = '''
public,
max-age=0,
must-revalidate'''
[[redirects]]
from = "/rss"
to = "/feed.xml"
status = 301
[[redirects]]
from = "/webinar-jan-2020"
to = "/webinar-jan-2021"
STATUS = 301
[[redirects]]
from = "/author/thuan-sarzynski"
to = "/author/thuansarzynski/"
STATUS = 301