Skip to content

Commit

Permalink
fix https with server
Browse files Browse the repository at this point in the history
  • Loading branch information
zlayine committed Sep 14, 2023
1 parent c38121c commit 114d6f0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/js/components/DisclosureMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</div>
<div class="mt-auto sm:px-2 border-t px-4 py-2">
<a
href="http://feedback.enjin.io"
href="https://feedback.enjin.io"
target="_blank"
class="text-gray-600 hover:bg-gray-50 hover:text-gray-900 group flex items-center rounded-md px-2 py-2 text-sm font-medium"
>
Expand Down
4 changes: 2 additions & 2 deletions resources/js/components/SideNavbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
</div>
<div class="mt-auto px-2 flex flex-col space-y-2">
<a
href="http://docs.enjin.io"
href="https://docs.enjin.io"
target="_blank"
class="text-gray-600 hover:bg-gray-50 hover:text-gray-900 group flex items-center rounded-md px-4 sm:px-2 py-2 text-sm font-medium"
>
Documentation
</a>
<a
href="http://feedback.enjin.io"
href="https://feedback.enjin.io"
target="_blank"
class="text-gray-600 hover:bg-gray-50 hover:text-gray-900 group flex items-center rounded-md px-4 sm:px-2 py-2 text-sm font-medium"
>
Expand Down
2 changes: 2 additions & 0 deletions vite.config.laravel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ import renameBase from './vite-rename-base-plugin';

const path = require('path');

// @ts-ignore
export default defineConfig({
define: {
'process.env': process.env,
},
server: { https: process.env.NODE_ENV !== 'development' ? true : false },
plugins: [
dynamicImport({
viteIgnore: () => true,
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export default defineConfig({
define: {
'process.env': process.env,
},
server: { https: process.env.NODE_ENV !== 'development' ? true : false },
plugins: [
dynamicImport({
viteIgnore: () => true,
Expand Down

0 comments on commit 114d6f0

Please sign in to comment.