mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
update btc address
This commit is contained in:
parent
1e59bab1eb
commit
8331cb85b5
3 changed files with 12 additions and 8 deletions
|
@ -129,7 +129,16 @@ post '/create' do
|
|||
})
|
||||
end
|
||||
|
||||
begin
|
||||
@site.save
|
||||
rescue Sequel::UniqueConstraintViolation => e
|
||||
if e.message =~ /username.+already exists/
|
||||
flash[:error] = 'Username already exists.'
|
||||
return {result: 'error'}.to_json
|
||||
end
|
||||
|
||||
raise e
|
||||
end
|
||||
|
||||
unless education_whitelisted?
|
||||
@site.send_email(
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 387 B |
|
@ -34,13 +34,8 @@
|
|||
-->
|
||||
|
||||
<h3>Bitcoin:</h3>
|
||||
<p><img src="/img/bitcoin.png"></p>
|
||||
<p><b><a href="bitcoin:1MPYyfoWK8CkAzhLzLLtZGa9dwEGT5dm2T">1MPYyfoWK8CkAzhLzLLtZGa9dwEGT5dm2T</a></b></p>
|
||||
|
||||
<h3>Filecoin</h3>
|
||||
<p><b>f1tub53j4dglc5bcgn2djaqljfkphiw6dem67ev2a</b></p>
|
||||
<p><a href="https://filecoin.io">(more info about Filecoin)</a></p>
|
||||
<p><b><a href="bitcoin:3HPuhRTz4fMyMRaLFHEQ5E2rrxGic8CXJQ">3HPuhRTz4fMyMRaLFHEQ5E2rrxGic8CXJQ</a></b></p>
|
||||
|
||||
<h4 style="margin-top: 30px; margin-bottom: 30px">Thanks. You are great! <a href="/#new">Now go and make an awesome web site!</a></h4>
|
||||
</article>
|
||||
</div> <!-- end .content -->
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue