UPDATE: changed init to use environment variables instead of hard coded URL
This commit is contained in:
@@ -232,7 +232,7 @@ const UserPage: React.FC = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div className="w-full mt-6 relative flex flex-col items-center">
|
<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">
|
<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" && (
|
{!isEditingBio && userPageVariant === "personal" && (
|
||||||
<button
|
<button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ def create_app():
|
|||||||
And setup web sockets to be used throughout the project.
|
And setup web sockets to be used throughout the project.
|
||||||
"""
|
"""
|
||||||
app = Flask(__name__)
|
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["SECRET_KEY"] = getenv("FLASK_SECRET_KEY")
|
||||||
app.config["SESSION_PERMANENT"] = False
|
app.config["SESSION_PERMANENT"] = False
|
||||||
app.config["SESSION_TYPE"] = "filesystem"
|
app.config["SESSION_TYPE"] = "filesystem"
|
||||||
|
|||||||
Reference in New Issue
Block a user