mirror of
https://github.com/therealaleph/MasterHttpRelayVPN-RUST.git
synced 2026-05-17 21:24:48 +03:00
revert(Code.gs): revert back HTML output i accidentally removed
This commit is contained in:
@@ -239,6 +239,15 @@ function _respHeaders(resp) {
|
|||||||
return resp.getHeaders();
|
return resp.getHeaders();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function doGet(e) {
|
||||||
|
return HtmlService.createHtmlOutput(
|
||||||
|
"<!DOCTYPE html><html><head><title>My App</title></head>" +
|
||||||
|
'<body style="font-family:sans-serif;max-width:600px;margin:40px auto">' +
|
||||||
|
"<h1>Welcome</h1><p>This application is running normally.</p>" +
|
||||||
|
"</body></html>"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
function _json(obj) {
|
function _json(obj) {
|
||||||
return ContentService.createTextOutput(JSON.stringify(obj)).setMimeType(
|
return ContentService.createTextOutput(JSON.stringify(obj)).setMimeType(
|
||||||
ContentService.MimeType.JSON
|
ContentService.MimeType.JSON
|
||||||
|
|||||||
Reference in New Issue
Block a user