second commit

This commit is contained in:
2025-10-05 10:57:17 +03:30
parent 2a818f5784
commit 5f0d5fb5e6
33 changed files with 72 additions and 72 deletions
+4 -4
View File
@@ -30,11 +30,11 @@ export async function authenticateWithFingerprint() {
const createOptions = {
challenge,
rp: { name: 'Samingold' },
rp: { name: 'ghatreh' },
user: {
id: Uint8Array.from('user-id', c => c.charCodeAt(0)),
name: 'Samin Gold',
displayName: 'Samin Gold'
name: 'Ghatreh',
displayName: 'Ghatreh'
},
pubKeyCredParams: [{ type: 'public-key', alg: -7 }],
authenticatorSelection: {
@@ -52,7 +52,7 @@ export async function authenticateWithFingerprint() {
const credentialId = btoa(String.fromCharCode(...new Uint8Array(credential.rawId)))
// بازیابی توکن از localStorage
const token = localStorage.getItem('samingold_app_token')
const token = localStorage.getItem('ghatreh_app_token')
if (!token) {
console.warn('توکن پیدا نشد، عملیات متوقف شد.')
+1 -1
View File
@@ -95,7 +95,7 @@ export function useProduct(product: Ref<Product> | Product) {
if (temp && temp.file) {
return temp.file.src
}
return 'Samin Gold'
return 'Ghatreh'
}
const collection = computed(() => {