Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

Fix for reading mime-types.json when starting camo outside it's main directory #42

Merged
merged 1 commit into from
Mar 6, 2014
Merged

Fix for reading mime-types.json when starting camo outside it's main directory #42

merged 1 commit into from
Mar 6, 2014

Conversation

s0meone
Copy link
Contributor

@s0meone s0meone commented Mar 2, 2014

This worked:

cd camo
node server.js

This failed:

node camo/server.js

Because it couldn't read mime-types.json. I've made a fix to read this file relatively from the main script directory.

@atmos
Copy link
Owner

atmos commented Mar 3, 2014

Can you update the coffee-script file too?

@s0meone
Copy link
Contributor Author

s0meone commented Mar 6, 2014

Ah yes, sorry, forgot about that. Will update!

@s0meone
Copy link
Contributor Author

s0meone commented Mar 6, 2014

Updated server.coffee and compiled it. I replaced the original commit.

atmos added a commit that referenced this pull request Mar 6, 2014
Fix for reading mime-types.json when starting camo outside it's main directory
@atmos atmos merged commit 02d28f7 into atmos:master Mar 6, 2014
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.

2 participants