Skip to content
This repository has been archived by the owner on Apr 6, 2024. It is now read-only.

Commit

Permalink
πŸ”’ Improved security
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Conos committed Jul 8, 2022
1 parent 6806ce0 commit 68ce39e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rock-API/api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def generate_id():
'rating': fields.Integer
}

trusted_ips = ['144.172.83.214']
trusted_ips = [os.getenv("IP_1"),os.getenv("IP_2")]
class Rockss(Resource):
@marshal_with(resource_fields)
def get(self, name):
Expand Down

0 comments on commit 68ce39e

Please sign in to comment.