Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly ignore files in chart folder #234

Closed
joabakk opened this issue Jul 4, 2017 · 0 comments
Closed

Properly ignore files in chart folder #234

joabakk opened this issue Jul 4, 2017 · 0 comments

Comments

@joabakk
Copy link
Contributor

joabakk commented Jul 4, 2017

When calling http://localhost:3000/signalk/v1/api/resources/charts I get
{".DS_Store":{"identifier":".DS_Store","tilemapUrl":"/charts/.DS_Store/{z}/{x}/{y}","type":"tilelayer","scale":"250000"},".gitkeep":{"identifier":".gitkeep","tilemapUrl":"/charts/.gitkeep/{z}/{x}/{y}","type":"tilelayer","scale":"250000"},"NW205_2":{"identifier":"NW205_2","name":"LYSEFJORDEN","description":"LYSEFJORDEN","tilemapUrl":"/mapcache/NW205_2","scale":100000}}

The two former are from OSX (very annoying .DS_Store files popping up) and .gitkeep (I assume from git repo). Files starting with .should be ignored as otherwise they end up in charts listings as undefined

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

No branches or pull requests

2 participants