Skip to content

Commit

Permalink
Import url as Url instead of URL to accomodate node-url export bug
Browse files Browse the repository at this point in the history
* Consider removing url package dependency

* More info: defunctzombie/node-url#37
  • Loading branch information
mstevens-aha committed Nov 15, 2020
1 parent 861fbfc commit 4dce797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const http = require('http');
const https = require('https');
const URL = require('url').URL;
const URL = require("url").Url;

const chars =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789~!@#$%^&*()_+`-=[]{}|;':,./<>?";
Expand Down

0 comments on commit 4dce797

Please sign in to comment.