Permalink
Browse files

consolidated static content

  • Loading branch information...
1 parent 525df9f commit 8b20efc81573d8d479f8b6934eed48f0cfb25ba3 @dhobbs committed Sep 25, 2011
View
@@ -1,15 +1,12 @@
"use strict";
/* jslint node */
-var http = require('http'),
- htmlLoader = require('./htmlLoader'),
- responseLoader = require('./responseLoader'),
- express = require('express');
+var express = require('express');
var app = express.createServer();
app.configure(function () {
- app.use(express.static(__dirname + '/html'));
+ app.use(express.static(__dirname + '/static'));
app.use(express.errorHandler({
dumpExceptions: true,
showStack: true
@@ -2,7 +2,7 @@
<html>
<head>
<title>OpenSpaceInvaders</title>
- <link href="/static/style.css" type="text/css" rel="stylesheet" />
+ <link href="/style.css" type="text/css" rel="stylesheet" />
</head>
<body>
<h1>Open Space Invaders</h1>
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8b20efc

Please sign in to comment.