new homepage and remove warnings
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
#include "main.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "server/server.h"
|
||||
#include "utils/colors.h"
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
fprintf(stdout, BOLD GREEN "[server] Running cws on http://localhost:%s...\n" RESET, "3030");
|
||||
const char *default_port = "3030";
|
||||
|
||||
int ret = start_server(NULL, "3030");
|
||||
fprintf(stdout, BOLD GREEN "[server] Running cws on http://localhost:%s...\n" RESET, default_port);
|
||||
|
||||
int ret = start_server(NULL, default_port);
|
||||
if (ret < 0) {
|
||||
fprintf(stderr, BOLD RED "Unable to start web server\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user