тестинг
This commit is contained in:
parent
db5d53ebc7
commit
2048ad9b1c
10
index-block.html
Normal file
10
index-block.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="ru">
|
||||||
|
<head>
|
||||||
|
<title>То чего тут нет но скоро наверное где-то будет</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="root">Всем привет, благодарю всех кто поучаствовал в альфа-тесте сами знаете чего. Следите за обновлениями и ждите новых новостей</div>
|
||||||
|
<img src='http://s9.pikabu.ru/images/big_size_comm/2017-01_1/1483546623127164693.jpg' />
|
||||||
|
</body>
|
||||||
|
</html>
|
15
index.mod.js
Normal file
15
index.mod.js
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
var express = require('express');
|
||||||
|
var app = express();
|
||||||
|
|
||||||
|
app.get('/', function(req, res)
|
||||||
|
{
|
||||||
|
res.sendfile(__dirname + '/build/index.html');
|
||||||
|
});
|
||||||
|
|
||||||
|
app.use(express.static('build'));
|
||||||
|
|
||||||
|
app.get('*', function(req, res)
|
||||||
|
{
|
||||||
|
res.sendfile(__dirname + '/build/index.html');
|
||||||
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user