Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
rsnyder committed Oct 7, 2023
1 parent be84fe5 commit ddc7368
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions juncture/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if (referrerUrl) {

async function getConfig() {
if (window._config) return window._config
let resp = await fetch('/_extra_config.yml')
let resp = await fetch('/juncture/config.yml')
if (resp.ok) window._config = {
...window.config,
...window.jsyaml.load(await resp.text())
Expand Down Expand Up @@ -295,9 +295,9 @@ async function init() {
? 'http://localhost:5173/src/main.ts'
: 'https://juncture-digital.github.io/web-components/js/index.js'
)
wcScriptEl.addEventListener('load', () => { if (isJunctureV1) createApp() })
document.body.appendChild(wcScriptEl)

if (isJunctureV1) createApp()
}

document.addEventListener('DOMContentLoaded', () => init() )

0 comments on commit ddc7368

Please sign in to comment.