returnrender_template('home.html',builddate=builddate,version=version,domain=domain_prepared,recaptchaPublicKey=recaptchaPublicKey,showDomainSelect=showDomainSelect,loginbar=loginbar,cookieNotice=cookieNotice,domain_prefilled=prefilledDomain,loginEnabled=loginEnabled,passwordProtected=passwordProtected)#return the default site to create a new shorten link
returnrender_template('home.html',builddate=builddate,domain=domain_prepared,recaptchaPublicKey=recaptchaPublicKey,showDomainSelect=showDomainSelect,loginbar=loginbar,cookieNotice=cookieNotice,domain_prefilled=prefilledDomain,loginEnabled=loginEnabled,passwordProtected=passwordProtected)#return the default site to create a new shorten link
builddate=""#If the enviorement Variable is not set also skip the builddate
try:
if(environ["show_version"]=="1"):#If you want to see the builddate you can enable this enviorement variable
version=open("VERSION","r").read()
else:
version=""
except:
version=""#If the enviorement Variable is not set also skip the version
try:
recaptchaPrivateKey=environ["recaptcha_private"]#Get the recaptcha keys, if not set set skipRecaptcha to true to skip the check. If the publicKey is not set the user also will not get the code needed for recaptcha delivered in the page.