Made it better for my install script

This commit is contained in:
Benjamyn Love 2019-02-20 22:08:34 +11:00
parent 650807265a
commit 427047b94a
2 changed files with 3 additions and 3 deletions

View File

@ -10,8 +10,8 @@ pasteDir = Path("pastes")
nameLength = 10 nameLength = 10
useSpecialChars = False useSpecialChars = False
allowListing = False allowListing = False
hostedURL = "paste.benjamyn.love/" hostedURL = "PREURL"
method = "https://" # https:// or http:// method = "PREPROTO" # https:// or http://
letters = string.ascii_letters letters = string.ascii_letters
if useSpecialChars: if useSpecialChars:

View File

@ -13,7 +13,7 @@
<center> <center>
<h1>PasteBen</h1> <h1>PasteBen</h1>
<div class="container container-fluid"> <div class="container container-fluid">
<form action="https://paste.benjamyn.love" method="post" class="card"> <form action="PREPROTOPREURL" method="post" class="card">
<textarea name="textarea" style="height:600px;"></textarea> <textarea name="textarea" style="height:600px;"></textarea>
<input type=submit name="buttonwaspushed" class="btn btn-outline-secondary"> <input type=submit name="buttonwaspushed" class="btn btn-outline-secondary">