Skip to content

Commit

Permalink
[auspice view] remove unused handler
Browse files Browse the repository at this point in the history
All static assets are asked for under the `/dist` prefix and handled by the `expressStaticGzip` handler.
  • Loading branch information
jameshadfield committed May 29, 2020
1 parent ff07d06 commit c55ac3d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cli/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ const run = (args) => {
utils.verbose(`Serving built javascript from "${auspiceBuild.distDir}"`);
app.get("/favicon.png", (req, res) => {res.sendFile(path.join(auspiceBuild.baseDir, "favicon.png"));});
app.use("/dist", expressStaticGzip(auspiceBuild.distDir));
app.use(express.static(auspiceBuild.distDir));

let handlerMsg = "";
if (args.gh_pages) {
Expand Down

0 comments on commit c55ac3d

Please sign in to comment.