mirror of
https://github.com/usatiuk/photos.git
synced 2025-10-29 07:47:47 +01:00
add proxy for api in dev
so it works in codespaces hopefully didn't break anything
This commit is contained in:
8
frontend/.proxyrc
Normal file
8
frontend/.proxyrc
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"/api": {
|
||||
"target": "http://localhost:3000/",
|
||||
"pathRewrite": {
|
||||
"^/api": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user