Skip to content

Commit

Permalink
updating for baseUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
bignamehere committed Jul 26, 2022
1 parent 0e25308 commit 6c89388
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
</script>
</head>
<body>
<base href="/proto/">
<div id="app"></div>
<script type="module" src="/src/_main.js"></script>
</body>
Expand Down
5 changes: 4 additions & 1 deletion src/_partials/BaseHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
AG_ABBR="USDA"
AG_FULL="United States Department of Agriculture"
AG_URL="//www.usda.gov"
AG_LOGO="/img/usda-logo--white.svg"
:AG_LOGO="baseUrl + 'img/usda-logo--white.svg'"
SUB_AG_ABBR="FPAC"
SUB_AG_FULL="Farm Production and Conservation"
SUB_AG_URL="//fsa.usda.gov"
Expand Down Expand Up @@ -52,6 +52,8 @@ export default {
const navigationData = computed(() => store.getters["navigation/getNavigation"]);
const baseUrl = ref(import.meta.env.BASE_URL);
const submitSearch = ( obj ) => {
emit('emitSearch',obj)
console.log('NAV SEARCH BASEHEADER', obj)
Expand All @@ -62,6 +64,7 @@ export default {
});
return {
baseUrl,
navigationData,
submitSearch
}
Expand Down

0 comments on commit 6c89388

Please sign in to comment.