feat: add new template folder www

This commit is contained in:
2025-03-23 03:27:00 -07:00
parent bc0ed61e1a
commit e0062d181d
5 changed files with 5 additions and 5 deletions

View File

@@ -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 )
{

View File

@@ -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">