UPDATE: changed init to use environment variables instead of hard coded URL

This commit is contained in:
white
2025-03-05 12:33:16 +00:00
parent cf7e6afe0b
commit e011dffe7d
2 changed files with 2 additions and 2 deletions

View File

@@ -232,7 +232,7 @@ const UserPage: React.FC = () => {
</div>
<div className="w-full mt-6 relative flex flex-col items-center">
<div className="w-full max-w-full relative flex items-center justify-center">
<h2 className="text-xl font-semibold mb-3 text-center w-full">About {profileData.username}</h2>
<h2 className="text-xl font-semibold mb-3 text-center w-full">About Me </h2>
{!isEditingBio && userPageVariant === "personal" && (
<button
onClick={() => {

View File

@@ -25,7 +25,7 @@ def create_app():
And setup web sockets to be used throughout the project.
"""
app = Flask(__name__)
app.config["SERVER_NAME"] = "127.0.0.1:8080"
app.config["SERVER_NAME"] = getenv("HOMEPAGE_URL")
app.config["SECRET_KEY"] = getenv("FLASK_SECRET_KEY")
app.config["SESSION_PERMANENT"] = False
app.config["SESSION_TYPE"] = "filesystem"