diff --git a/Cargo.lock b/Cargo.lock index 6cfa2ea..867a8a5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2614,7 +2614,7 @@ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" [[package]] name = "reminder-rs" -version = "1.7.35" +version = "1.7.36" dependencies = [ "base64 0.22.1", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 75953df..948c585 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "reminder-rs" -version = "1.7.35" +version = "1.7.36" authors = ["Jude Southworth "] edition = "2021" license = "AGPL-3.0 only" @@ -59,7 +59,7 @@ assets = [ ["reminder-dashboard/dist/index.html", "lib/reminder-rs/static/index.html", "644"], ["conf/default.env", "etc/reminder-rs/config.env", "600"], ["conf/Rocket.toml", "etc/reminder-rs/Rocket.toml", "600"], - ["conf/geo-asn-country-ipv4.csv", "etc/reminder-rs/geo-asn-country-ipv4.csv", "600"], + ["conf/gb-ipv4.csv", "etc/reminder-rs/gb-ipv4.csv", "600"], # ["nginx/reminder-rs", "etc/nginx/sites-available/reminder-rs", "755"] ] conf-files = [ diff --git a/Containerfile.build b/Containerfile similarity index 100% rename from Containerfile.build rename to Containerfile diff --git a/reminder-dashboard/src/components/Guild/GuildError.tsx b/reminder-dashboard/src/components/Guild/GuildError.tsx index 22fbaaf..bd9484a 100644 --- a/reminder-dashboard/src/components/Guild/GuildError.tsx +++ b/reminder-dashboard/src/components/Guild/GuildError.tsx @@ -1,4 +1,4 @@ -export const GuildError = () => { +export const GuildError = ({ message }: { message: string }) => { return (
@@ -11,6 +11,9 @@ export const GuildError = () => {
Otherwise, please check Reminder Bot is in the server, and has correct permissions. +
+
+ Error code: {message}

{ if (!isSuccess) { return <>; } else if (guildInfo.error) { - return ; + return ; } else { const importModal = createPortal(, document.getElementById("bottom-sidebar")); const path = usePathname();