Skip to content

Instantly share code, notes, and snippets.

@iTonyYo
Forked from Hogent/server.js
Created January 14, 2014 11:53
Show Gist options
  • Save iTonyYo/8417136 to your computer and use it in GitHub Desktop.
Save iTonyYo/8417136 to your computer and use it in GitHub Desktop.
// server.js
...
app.get("/notesapp.appcache", function(req, res){
res.header("Content-Type", "text/cache-manifest");
res.end("CACHE MANIFEST");
});
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment