diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/config.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/config.hpp b/src/config.hpp new file mode 100644 index 0000000..7533b60 --- /dev/null +++ b/src/config.hpp @@ -0,0 +1,14 @@ +#ifndef WANTCHATCONFIG_H +#define WANTCHATCONFIG_H + +// config for work in localhost: +const char *SERVER_IP = "127.0.0.1"; +const int SERVER_PORT = 3030; + +const char *DATABASE_HOST = "localhost"; +const char *DATABASE_USER = "admin"; +const char *DATABASE_PASSWD = "admin"; +const char *DATABASE_DB = "wantchat"; +const unsigned int DATABASE_PORT = 3306; // standard mariadb port + +#endif
\ No newline at end of file |