mirror of
https://github.com/zoriya/expo-vector-icons.git
synced 2025-12-05 22:26:31 +00:00
Add now.json to better handle client side routes
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -2,3 +2,5 @@ npm-debug.log
|
||||
node_modules/**/*
|
||||
yarn-error.log
|
||||
.DS_Store
|
||||
|
||||
.now
|
||||
2
website/.gitignore
vendored
2
website/.gitignore
vendored
@@ -5,3 +5,5 @@ build/**/*
|
||||
.expo
|
||||
web-build
|
||||
build
|
||||
|
||||
.now
|
||||
7
website/now.json
Normal file
7
website/now.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"version": 2,
|
||||
"routes": [
|
||||
{ "src": "^(.*)\\.(.*)$", "dest": "$1.$2" },
|
||||
{ "src": "^/(.*)", "dest": "/index.html" }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user