What do you mean by the right directory? The root directory?
What do you mean by the right directory? The root directory?
functions/utils.ts, will that automatically become a route too, or does it need a onRequest or onRequestGet/Post/etc to become a route (which becomes listed in _routes.json which is automatically generated)onRequest* export is present

npx wrangler pages dev -- npm run dev http://127.0.0.1:8788/helloworld = "Hello World"nuxt.js) and i don't know how to override this / configure it to point to the pages function.functions) which import npm packages? (e.g. functions/index.ts -> src/schema.ts -> zod)/serverdirectory? I've spent hours pouring over docs and I can't figure out how to do it. I'd be happy to write / contribute a documentation snippet or just include it in that github for others, I just don't know what to do.google-auth-library that will work in a function?/functions to secure some pages. But when the url has double slashes //, wrangler doesn't run the middleware for the url./functions/secure directory to be applied on all routes of /secure./out/secure directory contains a file one.html which should be served at /secure/one (but first the middleware needs to be invoked)/secure/one route but not on the //secure/one, whenever someone uses a double slash before the middleware directory, wrangler doesn't run the middleware and instead directly serve the pages./secure/one route – https://double-slashes-issue.pages.dev/secure/one//secure/one route – https://double-slashes-issue.pages.dev//secure/one/secure/one?allow route – https://double-slashes-issue.pages.dev/secure/one?allow (that's actually allowed by middleware)npx wrangler pages dev . (. contains a directory with functions) and getting the following error:
workerd/util/symbolizer.c++:99: warning: Not symbolizing stack traces because $LLVM_SYMBOLIZER is not set. To symbolize stack traces, set $LLVM_SYMBOLIZER to the location of the llvm-symbolizer binary. When running tests under bazel, use --test_env=LLVM_SYMBOLIZER=<path>.llvm-symbolizer is in $PATH.LLVM_SYMBOLIZER=(which llvm-symbolizer) npx wrangler@3.4 pages dev . seems to work!
address already in useworkerd process open somewherekilled itfunctions/utils.tsonRequestonRequestGet/Post/etc_routes.jsononRequest*npx wrangler pages dev -- npm run devhttp://127.0.0.1:8788/helloworld = "Hello World"nuxt.jsfunctionsfunctionsfunctions/index.tssrc/schema.tszod/servergoogle-auth-librarynitro: {
preset: 'cloudflare-pages'
},/functions///functions/secure/secure/out/secureone.html/secure/one/secure/one/secure/one//secure/one//secure/one/secure/one?allownpx wrangler pages dev ..workerd/util/symbolizer.c++:99: warning: Not symbolizing stack traces because $LLVM_SYMBOLIZER is not set. To symbolize stack traces, set $LLVM_SYMBOLIZER to the location of the llvm-symbolizer binary. When running tests under bazel, use --test_env=LLVM_SYMBOLIZER=<path>.llvm-symbolizer$PATHLLVM_SYMBOLIZER=(which llvm-symbolizer) npx wrangler@3.4 pages dev .address already in useworkerdkill