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?
2 Replies
Sounds needlessly complicated. Have u considered fusing the plugins to one?
I have not. I would not like to combine both plugins, they serve a different purposes. But I will consider to have one webApp to monitor both plugins. I am starting to like that idea.