~romuloalves/get-instagram-feed

af7513c618691a6caa5e592d7651d1c96b823300 — romuloalves 1 year, 6 months ago 72bfe29 master
Fixes now configs
1 files changed, 7 insertions(+), 3 deletions(-)

M now.json
M now.json => now.json +7 -3
@@ 2,9 2,6 @@
  "name": "get-instagram-feed",
  "version": 2,
  "alias": ["get-instagram-feed.now.sh"],
  "env": {
    "NODE_ENV": "production"
  },
  "builds": [
    { "src": "src/index.ts", "use": "@now/node" }
  ],


@@ 12,7 9,14 @@
    {
      "src": "/(?<id>[^/]+)",
      "dest": "/src/index.ts?id=$id",
      "headers": {
        "Access-Control-Allow-Origin": "*"
      },
      "methods": ["GET"]
    },
    {
      "src": "/.*",
      "status": 404
    }
  ]
}