mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 07:25:41 -04:00
feat: add new template folder www
This commit is contained in:
@@ -782,8 +782,8 @@ const server = http.createServer( ( request, response ) =>
|
||||
|
||||
request.url returns
|
||||
/
|
||||
/web/css/tvapp2.fonts.min.css
|
||||
/web/css/tvapp2.min.css
|
||||
/www/css/tvapp2.fonts.min.css
|
||||
/www/css/tvapp2.min.css
|
||||
*/
|
||||
|
||||
const method = request.method || 'GET';
|
||||
@@ -837,7 +837,7 @@ const server = http.createServer( ( request, response ) =>
|
||||
read the loaded asset file
|
||||
*/
|
||||
|
||||
fs.readFile( './' + loadAsset, ( err, data ) =>
|
||||
fs.readFile( './www/' + loadAsset, ( err, data ) =>
|
||||
{
|
||||
if ( !err )
|
||||
{
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
<title>TVApp2 - v${ version }</title>
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="web/css/tvapp2.fonts.min.css">
|
||||
<link rel="stylesheet" href="web/css/tvapp2.min.css">
|
||||
<link rel="stylesheet" href="css/tvapp2.fonts.min.css">
|
||||
<link rel="stylesheet" href="css/tvapp2.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="header">
|
||||
Reference in New Issue
Block a user