mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Add publishDate to make post appear in production
This commit is contained in:
@@ -43,7 +43,6 @@ enableRobotsTXT = true
|
||||
url = '/hazem-krimi.pdf'
|
||||
weight = 5
|
||||
[[deployment.matchers]]
|
||||
# Cache static assets for 1 year.
|
||||
pattern = "^.+\\.(js|css|svg|ttf)$"
|
||||
cacheControl = "max-age=31536000, no-transform, public"
|
||||
gzip = true
|
||||
@@ -52,7 +51,6 @@ enableRobotsTXT = true
|
||||
cacheControl = "max-age=31536000, no-transform, public"
|
||||
gzip = false
|
||||
[[deployment.matchers]]
|
||||
# Set custom content type for /sitemap.xml
|
||||
pattern = "^sitemap\\.xml$"
|
||||
contentType = "application/xml"
|
||||
gzip = true
|
||||
|
||||
Reference in New Issue
Block a user