We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32c7cfa commit d59869bCopy full SHA for d59869b
index.js
@@ -65,6 +65,13 @@ function createServer(root) {
65
})
66
67
http.createServer(function(req, res) {
68
+ // Force the addition of a query string. This
69
+ // works around an issue in beefy until it gets fixed:
70
+ // https://github.com/stackgl/shader-school/issues/107
71
+ req.url = req.url.indexOf('?') === -1
72
+ ? req.url + '?'
73
+ : req.url
74
+
75
var uri = url.parse(req.url).pathname
76
var paths = uri.split('/').filter(Boolean)
77
0 commit comments