-
Notifications
You must be signed in to change notification settings - Fork 149
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
Adding support for serving multiple folders from a single HTTPD server #16
base: master
Are you sure you want to change the base?
Commits on Apr 22, 2015
-
Adding the ability to provide custom paths for serving multiple paths…
… from a single server.
Configuration menu - View commit details
-
Copy full SHA for c50679b - Browse repository at this point
Copy the full SHA c50679bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea1b17e - Browse repository at this point
Copy the full SHA ea1b17eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17f0062 - Browse repository at this point
Copy the full SHA 17f0062View commit details -
Configuration menu - View commit details
-
Copy full SHA for 081fab1 - Browse repository at this point
Copy the full SHA 081fab1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f48bb37 - Browse repository at this point
Copy the full SHA f48bb37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4731a76 - Browse repository at this point
Copy the full SHA 4731a76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89cda0f - Browse repository at this point
Copy the full SHA 89cda0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f48d8f - Browse repository at this point
Copy the full SHA 4f48d8fView commit details -
app was crashing in Android with an NPE occasionally. According to lo…
…gical, the NPE was due to the method being null. Reversing the order of the equality check covers this.
Configuration menu - View commit details
-
Copy full SHA for 8acbc23 - Browse repository at this point
Copy the full SHA 8acbc23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16038c9 - Browse repository at this point
Copy the full SHA 16038c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae5865b - Browse repository at this point
Copy the full SHA ae5865bView commit details
Commits on Apr 24, 2015
-
Configuration menu - View commit details
-
Copy full SHA for e33ecd1 - Browse repository at this point
Copy the full SHA e33ecd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8bc4df - Browse repository at this point
Copy the full SHA e8bc4dfView commit details
Commits on Jul 22, 2015
-
Allow the HTTPD server to work in a proxy mode. If you define a custo…
…m path pointing to http://... or https://... it will internally redirect the request to the remote server, and serve the response back to the user from the local server. For example: cordova.plugins.CorHttpd.startServer({ 'www_root': '', 'port': 8080, 'localhost_only': false, 'custom_paths': { '/imgur/': 'http://i.imgur.com/' } }, function(){console.log("SUCCESS");}, function(){console.log("FAILURE");}); When you then fetch http://localhost:8080/imgur/TNZYux0.jpg, you will fetch the content from imgur, and serve it as if it came from your own domain. The reason for doing this... CrossDomain issues on image content served from an off device domain, and not wanting to apply unrestricted CORS access to all domains. NOTE: On iOS, this will download the entire contents of the response into memory before sending it on to the calling client. On Android, this is chunked in up to 16kb segments. Someone with more iOS experience than myself can probably make the iOS side of this behave more efficiently.
Configuration menu - View commit details
-
Copy full SHA for d937b50 - Browse repository at this point
Copy the full SHA d937b50View commit details
Commits on Feb 9, 2016
-
Allowing for custom paths to be stacked from different locations (so …
…/local/ can point to a local file based URL, but /local/game/ can point to a HTTP reference)
Configuration menu - View commit details
-
Copy full SHA for 8388c5b - Browse repository at this point
Copy the full SHA 8388c5bView commit details