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