diff --git a/client-solid/public/robots.txt b/client-solid/public/robots.txt new file mode 100644 index 0000000..c0c768d --- /dev/null +++ b/client-solid/public/robots.txt @@ -0,0 +1,3 @@ +User-agent: * +Disallow: /settings/ +Disallow: /public/ \ No newline at end of file diff --git a/server/src/util/util.rs b/server/src/util/util.rs index 62754a1..14f16de 100644 --- a/server/src/util/util.rs +++ b/server/src/util/util.rs @@ -1,6 +1,7 @@ use rand::Rng; // This will do for now +#[allow(dead_code)] pub fn hex_string(length: usize) -> String { let mut rng = rand::thread_rng(); let mut bytes = vec![0u8; length];