Parameter as part of URL

Ah yes I should have through of looking on the console. Yes there is 1 error:

Well the most important file is missing from your server :slight_smile: Make sure to upload it to your remote target.

It’s weird, I hit the deploy button and no difference.

I also hit install and update node packages and still nothing.

It’s the dmxAppConnect.js missing! Not any node package!
Check if it exists in the dmxAppConnect folder in your local site definition.

So I have realised the issue here now. For some reason it’s expecting dmxAppConnect to be in /winners/dmxAppConnect but it shoud be in just /dmxAppConnect as the component is in the public folder:

image

It seams to get all screwed up when I setup the route to be /winners/:code

If I just leave it as /winners then it points the the dmxAppConnect correctly.

You had a / at the end of the route path according to your earlier screenshot. Try it without and it may well work fine

Have a look for the following

<base href=“/”>

And make sure it is just after the <head> tag

2 Likes

And @mebeingken is the winner :partying_face: Thank you, its all working now.

Thank all for there input. This community is just amazing.

2 Likes