Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Small improvements to docularserver:
1. use sendFile instead of sendfile to avoid deprecation error 2. Send site.json and structure.json via sendFile and not express static to avoid issues with different OS's (windows). 3. return 404 on files that are not found inside the resource folders to ease debugging 4. fallback to docular grunt config to try and figure out the target folder 5. throw an error if not target folder found that explains what needs to be fixed
- Loading branch information
Idan Bauer
committed
Dec 18, 2014
1 parent
0467ad1
commit 8da8495
Showing
1 changed file
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters