baseURI setting - How To?

Hey guys,

How do you set the baseURI for href tag?

Currently it is…

PRODUCT PAGE ACTUAL URL
http://localhost:3000/product?id=7629180109022#

baseURI - by Inspecting “#” Element
http://localhost:3000/

Desired baseURI - Derived from the actual URL
http://localhost:3000/product?id=VARIABLE#
Example - http://localhost:3000/product?id=7629180109022#

NOTE - This project is running a Layout + Content Page so not sure how to accomplish this?

Hi
Try dynamic attribute link:
<a dmx-bind:href="'/product?id=' + product_id">

Was able to solve this with javascript:void(0) on the other script.