Compare commits
2 Commits
c5358e6c50
...
ac20f9172d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ac20f9172d | ||
|
|
b96f65c294 |
@@ -20,7 +20,7 @@ A simple, lightweight web application for managing user profile photos in a Free
|
||||
1. **Clone the Repository**
|
||||
```bash
|
||||
git clone https://git.astraltech.xyz/gawells/Self-Service-Dashboard
|
||||
cd account-manager
|
||||
cd Self-Service-Dashboard
|
||||
```
|
||||
|
||||
2. **Configure the Application**
|
||||
@@ -39,7 +39,7 @@ A simple, lightweight web application for managing user profile photos in a Free
|
||||
|
||||
5. **Run the Server**
|
||||
```bash
|
||||
go run src/*.go
|
||||
go run ./src/main/
|
||||
```
|
||||
The application will be available at `http://<host>:<port>`.
|
||||
|
||||
|
||||
7
src/logging/logging.go
Normal file
7
src/logging/logging.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package logging
|
||||
|
||||
import "log"
|
||||
|
||||
func Info(message string) {
|
||||
log.Print(message)
|
||||
}
|
||||
@@ -11,6 +11,8 @@ import (
|
||||
"strings"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"astraltech.xyz/accountmanager/src/logging"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -306,6 +308,8 @@ func cleanupSessions() {
|
||||
}
|
||||
|
||||
func main() {
|
||||
logging.Info("Starting the server")
|
||||
|
||||
var err error = nil
|
||||
|
||||
blankPhotoData, err = os.ReadFile("static/blank_profile.jpg")
|
||||
Reference in New Issue
Block a user