js.src = "//connect.facebook.net/zh_TW/all.js";
instead of
js.src = "//connect.facebook.net/zh_TW/sdk.js";
| import { useNuxtApp } from '#app' | |
| import { sendRedirect } from 'h3' | |
| /** | |
| * Performs an external redirect in a Nuxt3 route middleware. Once this Nuxt3 | |
| * pull request is merged, this function can be removed in favor of navigateTo: | |
| * | |
| * https://github.com/nuxt/framework/pull/5022 | |
| * | |
| * @param url - An external url to redirect to |