diff --git a/src/assets/vue_config.json b/src/assets/vue_config.json
new file mode 100644
index 0000000..544b7b4
--- /dev/null
+++ b/src/assets/vue_config.json
@@ -0,0 +1,3 @@
+{
+
+}
\ No newline at end of file
diff --git a/src/components/cards/Card.ts b/src/components/cards/Card.ts
index b2b931f..f60e9a5 100644
--- a/src/components/cards/Card.ts
+++ b/src/components/cards/Card.ts
@@ -21,17 +21,14 @@ export type cardType = {
};
export function getDatas(url: string, cards: cardType[]) {
- console.log(url);
FetchWrapper.fetch(url, { timeout: 3000 })
.then(response => {
if (!response.ok) {
// throw new Error(`HTTP error! status: ${response.status}`);
return null;
}
- console.log(response);
return response.json();
}).then(jsonData => {
- console.log('JSON Data:', jsonData);
if (!jsonData) {
return null;
}
diff --git a/src/components/cards/Card.vue b/src/components/cards/Card.vue
index 32623c0..47b87ab 100644
--- a/src/components/cards/Card.vue
+++ b/src/components/cards/Card.vue
@@ -27,9 +27,9 @@ let { card, idx } = defineProps<{
idx: number
}>()
-function getRealHref(href: string) {
+function getRealHref(href: string, user_name: string = "$") {
if (href.startsWith('$')) {
- return `/card/_${href.substring(1)}`;
+ href = `/card/${user_name}${href.substring(1)}`;
}
return href;
}
diff --git a/src/pages/CardShower.vue b/src/pages/CardsShower.vue
similarity index 80%
rename from src/pages/CardShower.vue
rename to src/pages/CardsShower.vue
index 5e7e679..229d5f2 100644
--- a/src/pages/CardShower.vue
+++ b/src/pages/CardsShower.vue
@@ -1,12 +1,12 @@
-
+
TOKEN is
-
+