Skip to content

Commit e2d7713

Browse files
committed
Move src to src and add serve config
1 parent 963e6e9 commit e2d7713

File tree

11 files changed

+13
-1
lines changed

11 files changed

+13
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "inadev.co",
33
"version": "1.0.0",
44
"scripts": {
5-
"start": "serve -c 31536000000"
5+
"start": "NODE_ENV=production serve"
66
},
77
"dependencies": {
88
"serve": "^10.0.0"

serve.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"public": "src",
3+
"headers": [
4+
{
5+
"source": "**",
6+
"headers": [{
7+
"key": "Cache-Control",
8+
"value": "public, max-age=360, s-maxage=86400"
9+
}]
10+
}
11+
]
12+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)