You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are only mild suggestions and would improve customization with plugins interacting with the webserver by a lot.
moving the ./src/modules/webserver.js outside of the modules folder, to not confuse with actual modules- this file is more of a constant or an utility and it would make more sense to have it in a utils folder, or even just in ./src might be the cleanest
move code from the webserver.js file to ./src/modules/webserverPlugin.js, it makes more sense to have it there. This also opens up for more plugin customization as we don't need to remove specific code from the webserver.js file to customize our webserver, but instead can just replace the webserverPlugin.js.
The text was updated successfully, but these errors were encountered:
DarkView
changed the title
Suggestion: webserver improvements
Webserver improvements
Sep 21, 2023
These are only mild suggestions and would improve customization with plugins interacting with the webserver by a lot.
./src/modules/webserver.js
outside of the modules folder, to not confuse with actual modules- this file is more of a constant or an utility and it would make more sense to have it in autils
folder, or even just in./src
might be the cleanestwebserver.js
file to./src/modules/webserverPlugin.js
, it makes more sense to have it there. This also opens up for more plugin customization as we don't need to remove specific code from thewebserver.js
file to customize our webserver, but instead can just replace thewebserverPlugin.js
.The text was updated successfully, but these errors were encountered: