Skip to content

Commit

Permalink
Added Warp, Smart fragment, port modification.
Browse files Browse the repository at this point in the history
  • Loading branch information
bia-pain-bache committed Jun 23, 2024
1 parent e7a07e9 commit 1bf050a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions _worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -1999,7 +1999,7 @@ const renderHomePage = async (env, hostName, fragConfigs) => {
<td style="text-align: center; font-size: larger;"><b>TLS</b></td>
<td style="display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;">${(await buildPortsBlock()).httpsPortsBlock}</td>
</tr>
${!hostName.includes('pages.dev') && `<tr>
${hostName.includes('pages.dev') ? '' : `<tr>
<td style="text-align: center; font-size: larger;"><b>Non TLS</b></td>
<td style="display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;">${(await buildPortsBlock()).httpPortsBlock}</td>
</tr>`}
Expand Down Expand Up @@ -2645,10 +2645,6 @@ const renderErrorPage = (message, error, refer) => {
</html>`;
}

const isRunningAsWorker = () => {
return typeof process === 'undefined';
}

const xrayConfigTemp = {
remarks: "",
log: {
Expand Down

0 comments on commit 1bf050a

Please sign in to comment.