Signal KSK
Signal K5mo ago
2 replies
Aswin

Aswin - my two webapps (AdvancedWind (https://g...

my two webapps (AdvancedWind (https://github.com/Asw1n/advancedwind) and SpeedAndCurrent (https://github.com/Asw1n/speedandcurrent)) use very similar files (index.html, app.js, etc) to provide a webapp. These webapps give insight to the corrections my plugins make to inputs. I would like to reuse the code for both webapps using a dependency that I already use for both plugins. Is it possible to have the plugin to redirect endpoints? I mean, the requested URL is http://localhost:3000/advancedwind/ but you serve http://localhost:3000/singalkutilities/index.html. Some endpoints however should go to the right plugin /getVectors for example should be handled by the plugin, as the exact reply to this request is defferent for both plugins.
If this is possible, how to do this?
Was this page helpful?