it is by design. what is the ideal limit you're looking for?
it is by design. what is the ideal limit you're looking for?
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?
env object to see whats on it


export default{.. fetch(req,env,ctx)env.FIREBASE_SECRETDevalueError: Cannot stringify arbitrary non-POJOsenvexport 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)