Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Get hostname of current micro? #559

Answered by etrotta
suntong asked this question in Help
Discussion options

You must be logged in to vote

If you are using {micro}.deta.dev, you can get the {micro} name from the preset environment variables
Not sure if there's any way besides hardcoding for custom domains though

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by suntong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants