Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

fix serve functions.. and correct the root cause of localhost:30001 bug #71

Merged
merged 1 commit into from
Apr 2, 2019

Conversation

swyxio
Copy link
Contributor

@swyxio swyxio commented Apr 2, 2019

closes #58

this bug was directly caused because ZISI was expecting a full settings object: https://github.com/netlify/zip-it-and-ship-it/blob/306d26a4b1ff99bfe0ace291755e980040c2b2ae/src/serve.js#L154

but we were only providing an object with functionsDir:

const fnSettings = await serveFunctions({ functionsDir })

the indirect fix for this is to use typescript to better communicate & enforce contracts.

@swyxio swyxio merged commit d947f1a into master Apr 2, 2019
@swyxio swyxio deleted the fixServeFunctions branch April 2, 2019 17:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

localhost:30001???
1 participant