1
0
Fork 0
mirror of https://github.com/kou029w/http-echo.git synced 2025-01-18 16:08:13 +00:00

resolve file path for zip-it-and-ship-it

This commit is contained in:
Nebel 2020-05-16 22:07:54 +09:00
parent ea8f10e262
commit 9e71465dc9
2 changed files with 3 additions and 3 deletions

View file

@ -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) => {

View file

@ -1,7 +1,7 @@
[build] [build]
functions = "netlify-functions" functions = "."
command = ":" command = ":"
[[redirects]] [[redirects]]
from = "/*" from = "/*"
to = "/.netlify/functions/app" to = "/.netlify/functions/netlify-function"
status = 200 status = 200