Move API_ORIGIN into constants.js
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
<script>
|
||||
|
||||
const API_ORIGIN = import.meta.env.VITE_API_ORIGIN ? import.meta.env.VITE_API_ORIGIN : window.location.origin;
|
||||
|
||||
import { marked } from 'marked';
|
||||
import { Button, PasswordInput, TextInput, fetcher } from 'pankow';
|
||||
import { API_ORIGIN } from '../constants.js';
|
||||
|
||||
export default {
|
||||
name: 'PasswordReset',
|
||||
|
||||
Reference in New Issue
Block a user