mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-05 18:40:56 +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
|
: request.url
|
||||||
);
|
);
|
||||||
|
|
||||||
|
console.log('userAgent', userAgent);
|
||||||
console.log('cacheUrl', cacheUrl);
|
console.log('cacheUrl', cacheUrl);
|
||||||
|
|
||||||
const cacheKey = new Request(cacheUrl.toString(), request);
|
const cacheKey = new Request(cacheUrl.toString(), request);
|
||||||
|
|
|
@ -18,9 +18,8 @@ String.prototype.format = function (options: { [find: string]: string }) {
|
||||||
};
|
};
|
||||||
|
|
||||||
export const Strings = {
|
export const Strings = {
|
||||||
BASE_HTML: `<!DOCTYPE html>
|
BASE_HTML: `<!DOCTYPE html><html {lang}><!--
|
||||||
<html {lang}>
|
|
||||||
<!--
|
|
||||||
█████ ▐█▌ ███████████ ███
|
█████ ▐█▌ ███████████ ███
|
||||||
███ █ ███ ███
|
███ █ ███ ███
|
||||||
███ ███ ███
|
███ ███ ███
|
||||||
|
@ -32,8 +31,9 @@ export const Strings = {
|
||||||
███
|
███
|
||||||
███ A better Tweet embedding service
|
███ A better Tweet embedding service
|
||||||
███ by @dangeredwolf, et al.
|
███ by @dangeredwolf, et al.
|
||||||
-->
|
|
||||||
<head>{headers}</head>`,
|
--><head>{headers}</head>
|
||||||
|
<!-- Worker build ${RELEASE_NAME} -->`,
|
||||||
ERROR_HTML: `<!DOCTYPE html>
|
ERROR_HTML: `<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
|
Loading…
Add table
Reference in a new issue