mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-05 10:30:55 +01:00
Added Worker build ID to BASE_HTML
This commit is contained in:
parent
4fa983b8ea
commit
6a556e79d2
2 changed files with 6 additions and 5 deletions
|
@ -155,6 +155,7 @@ const cacheWrapper = async (event: FetchEvent): Promise<Response> => {
|
|||
: request.url
|
||||
);
|
||||
|
||||
console.log('userAgent', userAgent);
|
||||
console.log('cacheUrl', cacheUrl);
|
||||
|
||||
const cacheKey = new Request(cacheUrl.toString(), request);
|
||||
|
|
|
@ -18,9 +18,8 @@ String.prototype.format = function (options: { [find: string]: string }) {
|
|||
};
|
||||
|
||||
export const Strings = {
|
||||
BASE_HTML: `<!DOCTYPE html>
|
||||
<html {lang}>
|
||||
<!--
|
||||
BASE_HTML: `<!DOCTYPE html><html {lang}><!--
|
||||
|
||||
█████ ▐█▌ ███████████ ███
|
||||
███ █ ███ ███
|
||||
███ ███ ███
|
||||
|
@ -32,8 +31,9 @@ export const Strings = {
|
|||
███
|
||||
███ A better Tweet embedding service
|
||||
███ by @dangeredwolf, et al.
|
||||
-->
|
||||
<head>{headers}</head>`,
|
||||
|
||||
--><head>{headers}</head>
|
||||
<!-- Worker build ${RELEASE_NAME} -->`,
|
||||
ERROR_HTML: `<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
|
Loading…
Add table
Reference in a new issue