|
window.AUTH0_DOMAIN = {{.AUTH0_DOMAIN}}; |
|
window.AUTH0_CLIENT_ID = {{.AUTH0_CLIENT_ID}}; |
|
window.AUTH0_AUDIENCE = {{.AUTH0_AUDIENCE}}; |
|
window.AUTH0_CALLBACK = {{.AUTH0_CALLBACK}}; |
Since this is a static HTML file, not a gin tmpl the executed javascript code is:
window.AUTH0_DOMAIN = {{ .AUTH0_DOMAIN }};
window.AUTH0_CLIENT_ID = {{ .AUTH0_CLIENT_ID }};
window.AUTH0_AUDIENCE = {{ .AUTH0_AUDIENCE }};
window.AUTH0_CALLBACK = {{ .AUTH0_CALLBACK }};
Have you been able to figure out how to pass data from gin to React?
taskpad/ui/public/index.html
Lines 32 to 35 in 95c65f9
Since this is a static HTML file, not a gin
tmplthe executed javascript code is:Have you been able to figure out how to pass data from gin to React?