Paano get full id because this

https://e1e5db06-7c3d-45a1-90bd-801db557bb11.pike.replit.dev

When it comes to the console results, that’s right because there is something missing, but you can’t get full if there is something missing
Then when it turns out to be a real website, this is the link

https://e1e5db06-7c3d-45a1-90bd-801db557bb11-00-2f4nhrqhl2rx3.pike.replit.dev/

This is the problem
-00-2f4nhrqhl2rx3
How to get that?
Moderators please answer

1 Like

I did some playing around and I wasn’t able to find it anywhere. No env vars, nothing.

Tho, all URLs have that “-00-” there, so it’s https://<repl-id>-00-<chars>.<repl-cluster>.replit.dev

1 Like

How about setup on nodejs still use process.env.chars fir show?

1 Like

No, that’s the thing, there isn’t an env var for those characters.

1 Like

Umm can you provide code for nodejs bro i need test my own project

1 Like

I already told you, I don’t know the code. I don’t think there is any code for it.

2 Likes

I hope that we, the programming people, can get our needs because when we get it, we only use process.env for chars. Because we need him to finish the project and go to school so that I don’t fail our project
I hope replit owner is fine

1 Like

@SECRETHUMANCHOR you possibly could try and scrape the data (if it’s possible). You could look for -00- and the characters afterwards and stop once you get to the . .

1 Like

https://<repl-id>-00-<chars>.<repl-cluster>.replit.dev

Help me pls :frowning:

2 Likes

I found a really bad solution… entertain me for a second:

You can send a post request with curl "https://replit.com/data/repls/$REPL_ID/get_connection_metadata"
You will need a connect.sid cookie with your Replit firebase JWT. I don’t think I’m allowed to further elaborate, even if this isn’t technically GraphQL related.

SO… if you figure out all of that and save the Replit credentials in a replit secret… you could get dotdevHostname back with the blasphemous dev endpoint hostname.

An extension could probably make this easier… but devs should 100% not have to do this, and this is definitely a MAJOR business and product regression, as it’s undermining the core value proposition in a way that zero competitors do.

2 Likes