mirror of
https://github.com/kou029w/http-echo.git
synced 2025-01-18 08:05:06 +00:00
resolve file path for zip-it-and-ship-it
This commit is contained in:
parent
ea8f10e262
commit
9e71465dc9
2 changed files with 3 additions and 3 deletions
|
@ -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,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
|
||||||
|
|
Loading…
Add table
Reference in a new issue