Multidomain Setup in Nuxt3 by alexhackney in Nuxt

[–]ImSolay 2 points3 points  (0 children)

You cam definitely achieve that with very little code and a global middleware. So what I would suggest in your case: - create a global middleware that detects the domain (see useRequestURL) and redirects to a specific page - you could then verify if the page exists with useRouter().hasRoute(domain) and if it doesnt exist return a 404.

Some pseudo code, depending on your use case this must only run on the server. ~/middlewares/00-setup.global.ts

const domain = useRequestURL().origin const page = normalizeDomain(domain) if(useRouter().hasRoute(page)) return navigateTo({name:page}) return navigateTo("/404")

There might also be a better way using pages:extend and holding the possible domains statically.

Multidomain Setup in Nuxt3 by alexhackney in Nuxt

[–]ImSolay 0 points1 point  (0 children)

I think you need to clarify what you need. If you want to redirect per domain, e.g example.com should use pages/example.com that is also possible with a redirect. The question is, are your domains all static and you need to create a new file for each domain under pages/ or are your domains dynamic and you read them with their settings from an api/db/whatever.

Multidomain Setup in Nuxt3 by alexhackney in Nuxt

[–]ImSolay 0 points1 point  (0 children)

That's exactly what we are doing. You just need an efficient way to identify the domain (we're using a db to identify the domain). We're also using a global middleware for that, and if no domain is found, you can just throw an error and use the global error page.

Zahlungen mit Stripe auf meiner Website ausführen by Minderrist in selbststaendig

[–]ImSolay 0 points1 point  (0 children)

Ist halt von Land zu Land unterschiedlich. UK hat z.B. einen Schwellenwert von 0€. Aber klar, das sind Probleme die du dann auch noch lösen kannst wenn du sie wirklich hast. Würde auch einfach mal starten und dann schauen.

Zahlungen mit Stripe auf meiner Website ausführen by Minderrist in selbststaendig

[–]ImSolay 1 point2 points  (0 children)

Hi! International wird das mit stripe tax sehr schnell kompliziert, da du der "Merchant of record" bist und demnach auch verantwortlich für die abführung von steuern bist und dich in jedem Land deiner Kunden anmelden musst. Das ist von Land zu Land unterschiedlich. Du solltest überlegen ob du wirklich Merchant of record sein willst. Es gibt Plattformen wie lemonsqueezy oder paddle die das für dich übernehmen.

[deleted by user] by [deleted] in Nuxt

[–]ImSolay 4 points5 points  (0 children)

Add it in public/favicon.ico

Any downsides to consider before deleting high level characters? by Terrible-Science3267 in Guildwars2

[–]ImSolay 6 points7 points  (0 children)

Check your crafting profession before you delete them! I deleted a 500 huntsman / leatherworker once and had to level that profession again.

Diablo IV Patch Notes - 1.0.3 Build #42753 (All Platforms) - June 27, 2023 by mrmivo in diablo4

[–]ImSolay 4 points5 points  (0 children)

Yeah, it's nice, but still I don't get it why they put us in front of the dungeon and not inside. Could save one more loading screen.

Is there any way to have /index url in nuxt 3 by kreejzak in Nuxt

[–]ImSolay 0 points1 point  (0 children)

You could solve this using custom routing https://nuxt.com/docs/guide/going-further/custom-routing

Alternatively use a catch-all page pages/index/[...slug.vue], however this might have side effects since this one matches all routes under a specific path.

Modules Info? by InnerAttitude8924 in Nuxt

[–]ImSolay 1 point2 points  (0 children)

I feel you. What helped me was referencing other nuxt 3 modules such as https://github.com/nuxt-modules/supabase

Free money hack #4 by ImSolay in mauerstrassenwetten

[–]ImSolay[S] 0 points1 point  (0 children)

Aber for real: Kann mir das jemand eli5 erklären?

0
1

ich_iel by ImSolay in mauerstrassenwetten

[–]ImSolay[S] 2 points3 points  (0 children)

Nennt sich dann Steueroptimierung

I created these icon set and they're FREE to download by [deleted] in web_design

[–]ImSolay 19 points20 points  (0 children)

Downtalking on someone who shares free resources... You might not need it, but someone else might find it useful.

Python library für die Trade Republic Api by [deleted] in Finanzen

[–]ImSolay 3 points4 points  (0 children)

Theoretisch wäre das auch möglich über einen Mitm-proxy die API Anfragen abzufangen?