Skip to content

Create-server and create-app#136

Merged
deiu merged 2 commits into
nodeSolidServer:masterfrom
nicola:ldp-clean
Sep 20, 2015
Merged

Create-server and create-app#136
deiu merged 2 commits into
nodeSolidServer:masterfrom
nicola:ldp-clean

Conversation

@nicola

@nicola nicola commented Sep 18, 2015

Copy link
Copy Markdown
Contributor
  • I brought the code written in the index.js in create-server and creat-app
  • I avoid passing key/cert/mount to createApp since it doesnt handle with that, while only createServer does
  • I mount ldp on the routes as a middleware
  • renamed debug file from logging to debug
  • put proxy in its own file (./lib/handler)

tl;dr
no changes in code, just moved code around
this make it easier to change LdpMiddleware in case someone will develop a different one than ours that operates on files

Comment thread test/params.js

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why have these been commented out?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since it can't be tested in that way.
In other words, now mount is a parameter of createServer, while this is a test for createApp, so mount can't be specified

deiu pushed a commit that referenced this pull request Sep 20, 2015
Create-server and create-app
@deiu deiu merged commit 7a6b793 into nodeSolidServer:master Sep 20, 2015
@deiu deiu removed the in progress label Sep 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants