clean up file structure
This commit is contained in:
16
zefie_wtvp_minisrv/includes/ServiceVault/wtv-cookie/list.js
Normal file
16
zefie_wtvp_minisrv/includes/ServiceVault/wtv-cookie/list.js
Normal file
@@ -0,0 +1,16 @@
|
||||
var minisrv_service_file = true;
|
||||
|
||||
if (socket.ssid) {
|
||||
if (session_data) {
|
||||
|
||||
data = session_data.listCookies();
|
||||
headers = "200 OK\n";
|
||||
headers += "Content-Type: text/plain";
|
||||
}
|
||||
}
|
||||
|
||||
if (!headers) {
|
||||
var errpage = wtvshared.doErrorPage(400)
|
||||
headers = errpage[0];
|
||||
data = errpage[1];
|
||||
}
|
||||
Reference in New Issue
Block a user