Minor changes

This commit is contained in:
NicolasCantu 2025-05-21 12:00:10 +02:00
parent 0e0c3946d2
commit 0099a8c858
3 changed files with 4 additions and 5 deletions

View File

@ -8,7 +8,8 @@ import { cleanSubscriptions } from './utils/subscription.utils';
import { LoginComponent } from './pages/home/home-component';
import { prepareAndSendPairingTx } from './utils/sp-address.utils';
import ModalService from './services/modal.service';
import { MessageType, ProfileData, FolderData } from './models/process.model';
import { MessageType, ProfileData, FolderData, LinkAcceptedMessage } from './models/process.model';
const routes: { [key: string]: string } = {
home: '/src/pages/home/home.html',
process: '/src/pages/process/process.html',
@ -274,7 +275,6 @@ export async function registerAllListeners() {
return;
}
const tokenService = await TokenService.getInstance();
const services = await Services.getInstance();
if (!services.isPaired()) {
const errorMsg = 'Device not paired';
@ -310,7 +310,6 @@ export async function registerAllListeners() {
return;
}
const tokenService = await TokenService.getInstance();
const services = await Services.getInstance();
if (!services.isPaired()) {
const errorMsg = 'Device not paired';

View File

@ -57,7 +57,7 @@ export default defineConfig({
fs: {
cachedChecks: false,
},
port: 3001,
port: 3004,
proxy: {
'/storage': {
target: 'https://demo.4nkweb.com',