|
|
@@ -54,17 +54,12 @@ if (!lk.isExecComm) {
|
|
|
|
|
|
|
|
|
async function checkHandleRequest() {
|
|
|
- const path = $request.path;
|
|
|
+ let path = $request.path;
|
|
|
lk.log(`请求path=${path}#${$request.method}`);
|
|
|
if ($request && $request.method != 'OPTIONS') {
|
|
|
- lk.log("path000=" + path);
|
|
|
if (path.indexOf("?") > -1) {
|
|
|
- let arr = path.split("?");
|
|
|
- lk.log(typeof (arr));
|
|
|
- path = arr[0];
|
|
|
- lk.log("#######111#########");
|
|
|
+ path = path.split("?")[0];
|
|
|
}
|
|
|
- lk.log("path111=" + path);
|
|
|
switch (path) {
|
|
|
case '/':
|
|
|
handleRspCookie();
|