v0.7.2
- Rename project - Add GPL3 License (RETROACTIVE) - Fill out package.json - Switch crc16 module to hopefully improve Windows end-user experience - Update README
This commit is contained in:
11
zefie_wtvp_minisrv/ServiceVault/wtv-tricks/access.js
Normal file
11
zefie_wtvp_minisrv/ServiceVault/wtv-tricks/access.js
Normal file
@@ -0,0 +1,11 @@
|
||||
// Allow URL access outside our trusted minisrv
|
||||
|
||||
if (query['url']) var url = unescape(query['url']);
|
||||
else var url = "client:showalert?message=Please%20provide%20a%20%3Furl%3D%20with%20the%20url%20you%20would%20like%20to%20access.&buttonlabel1=Okay&buttonacction1=client:donothing"
|
||||
|
||||
headers = `200 OK
|
||||
wtv-visit: `+url+`
|
||||
Content-type: text/html`
|
||||
|
||||
|
||||
data = '';
|
||||
Reference in New Issue
Block a user