Comments (8)
I'm pretty sure -ns option does it.
From --help
:
-ns, --no-server No-Server Mode. Starts the searcher but not the Webserver.
-os, --only-server Server-Only Mode. Starts only the Webserver without the searcher.
from rocketmap.
@Roland3 no, -ns starts the searcher, but the api is not accessible
EDIT: i would like to run a webserver but without the interface, for example if there is no GMAP key set, you won't have access to the map, but you can request the raw data
from rocketmap.
You seem to want the searcher, but which API are you trying to access and how?
from rocketmap.
I don't think this is going to be high-prio for anyone else but if you want to implement it and it's done right I'll merge it. Done right = triggered by no gmap key, doesn't add any more flags or config options, prints helpful warning message to console when triggered, serves an explanation page in place of the map to tell newbies to set a gmaps key
from rocketmap.
@marauder37 i will do (or at least try) it in my free time and create a PR
from rocketmap.
More so than what @marauder37 said, I don't know if we'd accept such a PR anyway. For 99% of the users, there's no reason to turn off the /
page, but adding such an option would mean we have to constantly be sure it's working. It'd be an extra, always-there, dev burden with very low usage for the general user population.
As an alternative, it would be relatively easy to put the map behind a reverse proxy (which people do for all other kinds of reasons like ngrok, ssl, basic-auth, etc) and limit that forwarding endpoints there.
As for the gmaps key, I'm pretty sure you could just insert any garbage value to get past the presence check.
from rocketmap.
@chuyskywalker why not satisfy the 1% too? :P
check the commit here
from rocketmap.
@ilendemli i agree with @chuyskywalker
I don't know if we'd accept such a PR anyway. For 99% of the users, there's no reason to turn off the / page.
-1
from rocketmap.
Related Issues (20)
- Notify of Perfection value resets on mobile devices between uses
- Mobile : Hide Pokémon Div closes after adding Pokémon HOT 1
- TTH Search Never Finishes HOT 5
- Cant start after clear reinstall HOT 1
- Possibly incorrect formula for Pokemon level HOT 4
- More Peak interval for the HashKeys HOT 2
- No cells as valid with Beehive Scanning and Geofences HOT 12
- "Start map at my position" gives error HOT 1
- Map 'forgets' (ex)raid filters when you switch on gyms HOT 3
- Docker's autobuilt images randomly don't work. HOT 6
- Locationmarker infowindow is shown even if "hidden" is chosen.
- Can not sucessfully edit js files HOT 1
- Geoloc stops working when host is not Localhost HOT 1
- Getting this error HOT 1
- Invalid Rocketmap Discord Invite HOT 1
- new pokemon go updates dropped HOT 1
- Error
- [DOCUMENTATION] Documentation page for hashing is outdated
- Map 'forgets' (ex)raid filters when you switch on gyms
- Nothing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rocketmap.