serverless - fix callback path

This commit is contained in:
Benjamin Pasero 2020-06-10 08:20:24 +02:00
parent 073398241b
commit 6a927e6bb5

View file

@ -320,7 +320,7 @@ async function handleCallback(req, res, parsedUrl) {
// add to map of known callbacks
mapCallbackUriToRequestId.set(requestId, JSON.stringify({ scheme: vscodeScheme || 'code-oss', authority: vscodeAuthority, path: vscodePath, query, fragment: vscodeFragment }));
return serveFile(req, res, path.join(APP_ROOT, 'scripts', 'callback.html'), { 'Content-Type': 'text/html' });
return serveFile(req, res, path.join(APP_ROOT, 'resources', 'serverless', 'callback.html'), { 'Content-Type': 'text/html' });
}
/**