forked from jsnbuchanan/crowd-funder-for-time-pwa
Initial stab at vitejs update
This commit is contained in:
@@ -539,9 +539,7 @@ import {
|
||||
EndorserRateLimits,
|
||||
ImageRateLimits,
|
||||
} from "@/libs/endorserServer";
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
const Buffer = require("buffer/").Buffer;
|
||||
import { Buffer } from "buffer/";
|
||||
|
||||
interface IAccount {
|
||||
did: string;
|
||||
|
||||
@@ -385,7 +385,7 @@ export default class Help extends Vue {
|
||||
$notify!: (notification: NotificationIface, timeout?: number) => void;
|
||||
|
||||
package = Package;
|
||||
commitHash = process.env.VUE_APP_GIT_HASH;
|
||||
commitHash = import.meta.env.VITE_GIT_HASH;
|
||||
|
||||
showOnboardInfo() {
|
||||
this.$notify(
|
||||
|
||||
Reference in New Issue
Block a user