Reorganised some routing logic. Added separate views for SPAs and reorganised static folders to be globally accessible, so that the separate views can access the right folder. Language can be permanently changed for account.
This commit is contained in:
22
views/frontendIndex.ejs
Executable file
22
views/frontendIndex.ejs
Executable file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href=<%= rootUrl + "/static/favicon.ico" %> />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="theme-color" content="#000000" />
|
||||
<meta
|
||||
name="description"
|
||||
content="Score dice games with K A D I"
|
||||
/>
|
||||
<link rel="manifest" href=<%= rootUrl + "/static/frontend/manifest.json" %> />
|
||||
<title>K A D I - Digital Dice</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<noscript>
|
||||
You need to enable JavaScript to run this app.
|
||||
</noscript>
|
||||
<script src=<%= rootUrl + "/static/frontend/bundle.js" %>></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user