Releases: duart38/Relay
Releases · duart38/Relay
v2.0.0
This update re-writes the foundation of the middleware.
- axiod is no longer used, we now use fetch
- "cors" in the models interface has been renamed to headers..
- headers (formerly cors) now accepts any key val pair.
- decoding has been split into 2 instructions. One for decoding the request before we forward and the other for only decoding before we send back to the client
- JSDoc has been updated
- We now allow parameters to be passed after the base URL needed to instruct the middleware (http:www.test.com//<method_in_model>/......params......)
- the method to get the "url parameters" has been named to "getUrlQueryStrings" as this is the correct term.
- loadConfiguration method now also takes in the parameters and passes these down to the models
- we added the ability to server HTML files or call other servers that serve SPAs
and many more... documentation coming soon