Skip to content

Instantly share code, notes, and snippets.

@ArnaudBuchholz
Created May 25, 2020 02:20

Revisions

  1. ArnaudBuchholz created this gist May 25, 2020.
    9 changes: 9 additions & 0 deletions cache.1.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    const { log, serve } = require('reserve')

    log(serve({
    port: 8005,
    mappings: [{
    match: /^\/(.*)/,
    url: 'http://facetheforce.today/$1'
    }]
    }), process.argv.includes('--verbose'))