Fixed readme lol

This commit is contained in:
Space-Banane
2026-01-17 15:34:01 +01:00
parent 4e637bc27d
commit 0ff9952171
2 changed files with 5 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ A simple clipboard synchronization tool built with Go. It consists of a server a
2.1 Server Configuration: 2.1 Server Configuration:
- Navigate to the `server` directory. - Navigate to the `server` directory.
- Make a new file called `config.go` and paste/modify the following code: - Make a new file called `config.go` and paste/modify the following code:
```go ```go
package main package main
const ( const (
@@ -28,12 +28,12 @@ const (
EmbeddedServerIP = "0.0.0.0" EmbeddedServerIP = "0.0.0.0"
EmbeddedServerPort = "8080" EmbeddedServerPort = "8080"
) )
```
```
2.2 Client Configuration: 2.2 Client Configuration:
- Navigate to the `client` directory. - Navigate to the `client` directory.
- Make a new file called `config.go` and paste/modify the following code: - Make a new file called `config.go` and paste/modify the following code:
```go ```go
package main package main
const ( const (
@@ -42,7 +42,7 @@ const (
EmbeddedServerIP = "100.107.73.38" EmbeddedServerIP = "100.107.73.38"
EmbeddedServerPort = "8080" EmbeddedServerPort = "8080"
) )
``` ```
3. Build the programs. 3. Build the programs.
- Run the `build.bat` script in the root directory to build both the server and client applications. - Run the `build.bat` script in the root directory to build both the server and client applications.

View File

@@ -4,4 +4,4 @@ go 1.25.5
require github.com/gorilla/websocket v1.5.3 require github.com/gorilla/websocket v1.5.3
require github.com/joho/godotenv v1.5.1 // indirect require github.com/joho/godotenv v1.5.1 // indirect