Access to express in os-js?


#21

I used the link to this thread, not the github issue in my comment :man_facepalming:

Updated


#22

hahaha, timezone starting to catch up.


#23

Indeed. I’m getting ready to get to bed :stuck_out_tongue:


#24

I updated the manual with more information on this:

https://manual.os-js.org/v3/tutorial/express/

(Please not that this webserver chaches stuff heavily, so if you don’t see it stay tuned or clear your cache).


#25

great! Yeah that’s a lot more information.

I once did Osjs.app.use(…)

I had to restart npm run serve & npm run watch for it to work. Is this because of caching?


#26

Since I had to restore a snapshot of this server, my original comment was lost – so I’ll try to recreate it.


Restarting the server is enough. When you change the server files this is required.