From unrelated issues i have seen, you need to put it in your wrangler config
From unrelated issues i have seen, you need to put it in your wrangler config

You do not have access to use Logpush. Please ensure it is enabled. If you are an Enterprise user, reach out to your account team. [code: 10023] {"code": 1004, "message": "creating a new job is not allowed: exceeded max jobs allowed"}{"errors": [], "messages": [], "result": [], "success": true}
public/_headers solves this, but it isn't clear that this file applies to all and only to static assetsassetsDir option, ideally cloudflare (via the vite plugin) should add a cache header to all files under that path.worker-configuration.d.ts into git?export default{.. fetch(req,env,ctx)env.FIREBASE_SECRET should workfetch will be within the cloudflare fetch handler?DevalueError: Cannot stringify arbitrary non-POJOs is there a recommended way to serialize/deserialize them?
You do not have access to use Logpush. Please ensure it is enabled. If you are an Enterprise user, reach out to your account team. [code: 10023]{"code": 1004, "message": "creating a new job is not allowed: exceeded max jobs allowed"}{"errors": [], "messages": [], "result": [], "success": true}public/_headersassetsDirworker-configuration.d.tsexport default{.. fetch(req,env,ctx)env.FIREBASE_SECRETfetchDevalueError: Cannot stringify arbitrary non-POJOsexport default class extends WorkerEntrypoint<Env> {
fetch() {
const mySecret = this.env.SOME_SECRET;
}
}import { Database } from "./database";
const TWITCH_APP_ID = await Database.get("twitch_app_id");
const TWITCH_APP_SECRET = await Database.get("twitch_app_secret");
const TWITCH_REFRESH = await Database.get("twitch_refresh_token");
const FIREBASE_SECRET = env.FIREBASE_SECRETexport default{
async fetch(request){
export class SomeClass{...export default {
async fetch(request, env, ctx) {
const FIREBASE_SECRET = process.env.FIREBASE_SECRET;
const FIREBASE_URL = process.env.FIREBASE_URL;
console.log(FIREBASE_URL);[wrangler:inf] GET / 304 Not Modified (9ms)
undefined
[wrangler:inf] GET /message 200 OK (15ms)