Skip to content

Commit

Permalink
fix url error
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaaoBlues committed Jun 24, 2022
1 parent 2d96e37 commit fb66ecc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions copypasta.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ def check_exe_name():

# copypasta url

if is_hosts_file_modified():
if not is_hosts_file_modified():

COPYPASTA_URL = "copypasta.me" if system() == "Windows" else "copypasta.me:21987"

else:

COPYPASTA_URL = "127.0.0.1:21987"
COPYPASTA_URL = "http://127.0.0.1:21987"

#necessary to update images (stack overflow)
@app.after_request
Expand Down

0 comments on commit fb66ecc

Please sign in to comment.