~tychi/code-mirror-shield

c3cf0f368144a2b9947732df0069e6b925570e06 — Tyler Childs 7 months ago ba2ad21
bugfix: default should be GET
2 files changed, 8 insertions(+), 1 deletions(-)

A public/hi
M server.js
A public/hi => public/hi +7 -0
@@ 0,0 1,7 @@

a
aaaa
a
aasaaadf

a
\ No newline at end of file

M server.js => server.js +1 -1
@@ 26,7 26,7 @@ async function save(pathname, params) {
}

async function handleRequest(request) {
	return await (methods[request.method] || methods['POST'])(request)
	return await (methods[request.method] || methods['GET'])(request)
}

async function handlePost(request) {