Skip to content

Point webserver to dataDirectory? #59

@AntonERG

Description

@AntonERG

Dear @bykof , you have a great solution, I was able to integrate it into my app, but the only very valuable thing I can't handle is:
I need to point webserver to device dataDirectory (e.g. cordova.file.dataDirectory), to be able put there several files (e.g. http://localhost:8084/myimage.png etc) and after call them within the app.

My I ask you a favor to implement this feature?
Can I collaborate/donate your project in any way?

I saw that GCDWebServer has a method addGETHandlerForBasePath to do it
https://stackoverflow.com/questions/30984084/gcdwebserver-static-files-from-documents
Unfortunately I don't have enough skills to modify your plugin ((

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions