Module: indexController

Controller for all static files
Source:

Methods

(static) showImpressum(req, res, next)

GET-Static static impressum.html
Parameters:
Name Type Description
req Request The req object represents the HTTP request and has properties for the request query string, parameters, body, HTTP headers, and so on
res Response The res object represents the HTTP response that an Express app sends when it gets an HTTP request.
next * Control to the next handler
Source:
Returns:
str static impressum.html

(static) showIndex(req, res, next)

GET-Static static index.html
Parameters:
Name Type Description
req Request The req object represents the HTTP request and has properties for the request query string, parameters, body, HTTP headers, and so on
res Response The res object represents the HTTP response that an Express app sends when it gets an HTTP request.
next * Control to the next handler
Source:
Returns:
str static index.html

(static) showRobots(req, res, next)

GET-Static static robots.txt
Parameters:
Name Type Description
req Request The req object represents the HTTP request and has properties for the request query string, parameters, body, HTTP headers, and so on
res Response The res object represents the HTTP response that an Express app sends when it gets an HTTP request.
next * Control to the next handler
Source:
Returns:
str static robots.txt

(static) showSitemap(req, res, next)

GET-Static sitemap.xml
Parameters:
Name Type Description
req Request The req object represents the HTTP request and has properties for the request query string, parameters, body, HTTP headers, and so on
res Response The res object represents the HTTP response that an Express app sends when it gets an HTTP request.
next * Control to the next handler
Source:
Returns:
str static sitemap.xml