Skip to main content

Module router

Module router 

Source
Expand description

Methods to work with routes on SPA.

Functions§

endpoint
Get endpoint to your backend server
get_host
Get server’s address and port
get_path
Get path
get_protocol
Get server protocol (HTTP/HTTPS: “http:”/“https:”)
redirect
Redirect to any URL