@@ -27,7 +27,10 @@ type apiConfig struct {
var staticFiles embed.FS
func main() {
godotenv.Load(".env")
err := godotenv.Load(".env")
if err != nil {
log.Fatalf("Error loading .env file: %v", err)
}
port := os.Getenv("PORT")
if port == "" {
The note is not visible to the blocked user.