Search
Get Started
CD
Cloudflare Developers
•
3y ago
TigersWay
What's my name?
Is there any way inside a running worker to know its name
? the one set inside the
toml
toml
file
.
Thanks
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
83,043
Members
View on Discord
Was this page helpful?
Yes
No
K
kian
•
6/12/23, 1:29 AM
Not currently
, no
.
K
kian
•
6/12/23, 1:29 AM
You
'd have to add a variable
.
K
kian
•
6/12/23, 1:29 AM
(or use
to replace it at build
-time
)
T
TigersWay
OP
•
6/12/23, 1:37 AM
@kian That was fast
.
.
.
. Sad
, but yes
, I can manage another way
!
define
define