Change the way static media is delivered.

Review Request #6938 — Created Feb. 12, 2015 and submitted

Information

student-sonar
master
1fc0a3a...

Reviewers

Instead of allowing express to serve any file in the current directory, specify
the exact paths which it should serve. This required making a change in the way
that index.html is served as well (apparently it was being shown by
express.static instead of the route to /).

Verified that everything still worked.

reviewbot
  1. Tool: Pyflakes
    Ignored Files:
        lib/routes.js
        server.js
    
    
    
    Tool: PEP8 Style Checker
    Ignored Files:
        lib/routes.js
        server.js
    
    
  2. 
      
mike_conley
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (63029ae)
Loading...