diff --git a/.gitignore b/.gitignore index 4ebbb07..c80d317 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ node_modules *.log -public/stylesheets/*.css \ No newline at end of file diff --git a/.platform.app.yaml b/.platform.app.yaml new file mode 100644 index 0000000..70578df --- /dev/null +++ b/.platform.app.yaml @@ -0,0 +1,24 @@ +name: timezone +type: nodejs:6.9 + +dependencies: + nodejs: + browserify: "^13.1.1" + +web: + commands: + start: "node /app/index.js" + locations: + "/": + passthru: true + root: "public" + allow: true + +mounts: + "/run": "shared:files/run" + +disk: 512 + +hooks: + build: | + npm run build \ No newline at end of file diff --git a/.platform/routes.yaml b/.platform/routes.yaml new file mode 100644 index 0000000..71a7ee6 --- /dev/null +++ b/.platform/routes.yaml @@ -0,0 +1,7 @@ +"http://{default}/": + type: upstream + upstream: "timezone:http" + +"http://www.{default}/": + type: redirect + to: "http://{default}/" diff --git a/.platform/services.yaml b/.platform/services.yaml new file mode 100644 index 0000000..e69de29