mirror of
https://github.com/kou029w/http-echo.git
synced 2025-02-25 16:55:17 +00:00
rename to netlify-functions
This commit is contained in:
parent
4bca580c38
commit
c91e360a5a
3 changed files with 3 additions and 4 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,6 +1,5 @@
|
|||
/node_modules/
|
||||
/package-lock.json
|
||||
/.env
|
||||
/.netlify/*
|
||||
!/.netlify/functions
|
||||
/.netlify
|
||||
/.vercel
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
const awsServerlessExpress = require("aws-serverless-express");
|
||||
const app = require("../../../index.js");
|
||||
const app = require("../../index.js");
|
||||
const server = awsServerlessExpress.createServer(app);
|
||||
|
||||
exports.handler = (event, context) => {
|
|
@ -1,5 +1,5 @@
|
|||
[build]
|
||||
functions = ".netlify/functions"
|
||||
functions = "netlify-functions"
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/.netlify/functions/app"
|
||||
|
|
Loading…
Add table
Reference in a new issue