Commit dae097e7 authored by Erick Hitter's avatar Erick Hitter

Inline assets to simplify setup

parent d86067ae
......@@ -70,9 +70,6 @@ app.get( '/api/:domain', function( req, res ) {
} );
} );
// Allow access to scripts
app.use( express.static( 'public' ) );
// Listen on some random, unused port
// App is meant to be fronted by nginx
app.listen( 5060, function() {
......
......@@ -6,7 +6,10 @@
<script src="https://s2.e15r.co/wp-includes/js/jquery/jquery.js"></script>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" href="css/main.css" />
<style type="text/css">
{{> css}}
</style>
</head>
<body>
<header>{{{body}}}</header>
......@@ -17,7 +20,9 @@
<footer>&copy; <a href="https://ethitter.com/">erick t. hitter</a> | <a href="https://ethitter.com/contact/">Contact</a></footer>
<script src="js/main.js"></script>
<script type="text/javascript">
{{> js-footer}}
</script>
{{> analytics}}
</body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment