Skip to content

Commit

Permalink
path tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
minaorangina committed Mar 21, 2017
1 parent c31321f commit 0f8eeed
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- [x] get the images etc up on the page
- [x] work out how to get it to fit to the viewport/100%
- [x] write code to resize
- [x] add zoom limits
- [x] think about centring
- [x] add buttons for resizing
- [x] select other images

stretch
- [ ] resize dynamically to viewport
- [x] disable button
- [ ] reposition to centre of page
4 changes: 2 additions & 2 deletions start.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ const path = require('path');
const express = require('express');
const morgan = require('morgan');
const socket = require('socket.io');
const socketRouter = require('./server/socketRouter.js');
const socketRouter = require('./server/socketRouter');

if (!process.env.APP_ID) {
console.error('Please set environment variables');
process.exit(1);
}

const app = express();
app.use(express.static(path.resolve(`${__dirname}/dist`)));
app.use(express.static('dist'));
app.use(morgan('combined'));

const server = http.createServer(app);
Expand Down

0 comments on commit 0f8eeed

Please sign in to comment.