mirror of
https://github.com/kou029w/http-echo.git
synced 2025-02-26 01:05:16 +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/
|
/node_modules/
|
||||||
/package-lock.json
|
/package-lock.json
|
||||||
/.env
|
/.env
|
||||||
/.netlify/*
|
/.netlify
|
||||||
!/.netlify/functions
|
|
||||||
/.vercel
|
/.vercel
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
const awsServerlessExpress = require("aws-serverless-express");
|
const awsServerlessExpress = require("aws-serverless-express");
|
||||||
const app = require("../../../index.js");
|
const app = require("../../index.js");
|
||||||
const server = awsServerlessExpress.createServer(app);
|
const server = awsServerlessExpress.createServer(app);
|
||||||
|
|
||||||
exports.handler = (event, context) => {
|
exports.handler = (event, context) => {
|
|
@ -1,5 +1,5 @@
|
||||||
[build]
|
[build]
|
||||||
functions = ".netlify/functions"
|
functions = "netlify-functions"
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "/*"
|
from = "/*"
|
||||||
to = "/.netlify/functions/app"
|
to = "/.netlify/functions/app"
|
||||||
|
|
Loading…
Add table
Reference in a new issue