I am trying somehow but unsuccessfully until now to access last element of url from params.id or slug and therefore my questions is is that possible somehow what am I missing here ?
So let's say my url will be /post/great-title-post-124654654
I want to have access to the number in the url above and make a call to firebase realtime database.
Any help is welcome… I can't get my head around it..
Thnx in advance