Skip to content

Commit 2291bc8

Browse files
committed
Update Welcome template to pull from new DSN env setting
1 parent 88c153e commit 2291bc8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/HelloWorld.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<code>
99
Craft Version: {{ info.craftVersion }} (passed in as prop)<br />
1010
Environment: {{ info.environment }} (passed in as prop)<br />
11-
DB Name: <slot></slot> (passed in through slot)
11+
DSN Settings: <slot></slot> (passed in through slot)
1212
</code>
1313
</div>
1414
</template>
@@ -31,4 +31,4 @@ h1,
3131
h2 {
3232
font-weight: normal;
3333
}
34-
</style>
34+
</style>

templates/index.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
} %}
1919

2020
<hello-world :info="{{ info|json_encode }}">
21-
{{ getenv('DB_DATABASE') }}
21+
{{ getenv('DB_DSN') }}
2222
</hello-world>
2323
</div>
2424

0 commit comments

Comments
 (0)