

--minify option to reduce your worker's sizenos.sensible.website is pointing to Pages not Workers but it also doesn't look like it ever had issues

indicates that the server understood the request but refused to process it.
When using Cloudflare Workers, your app won't be able to access non-ephemeral CDN media. For example, trying to fetch an image likeOnly applies to /attachments, you can fetch other cdn data (such as avatars, and ephemeral attachments from slash cmds)https://cdn.discordapp.com/attachments/1234/56789/my_image.pngwould result in a 403 error. Cloudflare Workers are still able to access ephemeral CDN media.


*domain.org/*) it still returns the origin site. Double checked that A records are proxied at Cloudflare. The weird part is that it works just fine with the staging domain (*domain.dev/*). I've also double checked that there are no bulk redirects that might be getting in the way. Any ideas?--minifynos.sensible.websitehttps://cdn.discordapp.com/attachments/1234/56789/my_image.png*domain.org/**domain.dev/*const db = new Kysely<Database>({
dialect: new D1Dialect({ database: env.voting })
});
export interface User {
userId: string
votes: number;
lastVoted: number;
votes_this_month: number;
};
export interface Database {
voting: User;
}
No overload matches this call.
Overload 1 of 2, '(args: KyselyConfig): Kysely<Database>', gave the following error.
Type 'D1Dialect' is not assignable to type 'Dialect'.
The types of 'createAdapter().acquireMigrationLock' are incompatible between these types.
Type '(_db: Kysely<any>, _opt: MigrationLockOptions) => Promise<void>' is not assignable to type '(db: Kysely<any>, options: MigrationLockOptions) => Promise<void>'.
Types of parameters '_db' and 'db' are incompatible.
Type 'import("c:/Users/kyebm/OneDrive/Desktop/Desktop (1)/cf bot/node_modules/kysely/dist/esm/kysely", { with: { "resolution-mode": "import" } }).Kysely<any>' is not assignable to type 'import("c:/Users/kyebm/OneDrive/Desktop/Desktop (1)/cf bot/node_modules/kysely/dist/cjs/kysely").Kysely<any>'.
Property '#private' in type 'Kysely' refers to a different member that cannot be accessed from within type 'Kysely'.
Overload 2 of 2, '(args: KyselyProps): Kysely<Database>', gave the following error.
Type 'D1Dialect' is not assignable to type 'Dialect'.ts(2769)