Commit 86c9ed27 authored by Mikko Ahlroth's avatar Mikko Ahlroth

Add tester page for localhost development

parent 768939f0
......@@ -31,6 +31,7 @@ node_modules
# Compiled static files
/priv/static/*
!/priv/static/.gitkeep
!/priv/static/test.html
# Maxmind databases
/priv/maxmind
defmodule Tilastokeskus.Reception.Router do
@external_resource "priv/static/track.js"
@external_resource "priv/static/test.html"
use Ace.HTTP.Service, port: 1971, cleartext: true
use Raxx.Logger
......
......@@ -27,4 +27,4 @@
"devDependencies": {
"uglify-es": "^3.3.9"
}
}
\ No newline at end of file
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Tilastokeskus tester page</title>
</head>
<body>
<script type="text/javascript">
window.tilastokeskus_url = '/track';
</script>
<script type="text/javascript" src="/track.js"></script>
</body>
</html>
\ No newline at end of file
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