flyve-mdm / deeplink

Website to resolve Flyve MDM deeplinks
https://github.com/flyve-mdm/deeplink
GNU General Public License v3.0
8 stars 14 forks source link

Use a configuration file #28

Closed btry closed 6 years ago

btry commented 6 years ago

Describe the bug question from here: https://forum.glpi-project.org/viewtopic.php?pid=352258#p352258

in deeplink/index.html a path to a js resource contains a leading slash. I think it should point to this file, right ?

https://github.com/flyve-mdm/deeplink/blob/develop/site/js/bugsnag-3.min.js

The api key should be configurable.

The redirection to an arbitrary we site if ni data provided in the URL should be configurable too.

All these issues should be solved by creating a build process and by using a config.json or config.js file.


To Reproduce Steps to reproduce the behavior:

  1. build the microservice to run in htps://server.com/path/to/service/
  2. try to use it