Compare commits

...

3 Commits

Author SHA1 Message Date
e36ad35d37 Local addresses. 2024-12-09 20:04:05 +01:00
6b7b6a293a Change legal notice. 2024-12-08 11:04:03 +01:00
724ca89735 Fix URLs. 2024-12-08 00:35:15 +01:00
3 changed files with 14 additions and 10 deletions

View File

@ -110,8 +110,8 @@ foreign import unsafeSetInnerHTML :: HTMLElement -> RawHTML -> Effect Unit
-- | Current limit is 30 minutes (`max_keepalive` = 60, 60 * 30 seconds = 30 minutes). -- | Current limit is 30 minutes (`max_keepalive` = 60, 60 * 30 seconds = 30 minutes).
max_keepalive = 60 :: Int max_keepalive = 60 :: Int
wsURLauthd = "wss://netlib.re/ws/authd" :: String wsURLauthd = "ws://localhost:8080" :: String
wsURLdnsmanagerd = "wss://netlib.re/ws/dnsmanagerd" :: String wsURLdnsmanagerd = "ws://localhost:8081" :: String
data Action data Action
= Initialize = Initialize
@ -319,7 +319,7 @@ render state
HH.div [HP.classes [C.notification, C.is_warning]] HH.div [HP.classes [C.notification, C.is_warning]]
[ Bulma.p """ [ Bulma.p """
⚠️​ (FR) le service a été migré d'une ancienne base de code récemment. ⚠️​ (FR) le service a été migré d'une ancienne base de code récemment.
Le développement se poursuit mais le service devrait être stable, mise à part quelques redémarrages de temps à autre. Le développement se poursuit mais le service devrait être stable, mis à part quelques redémarrages de temps à autre.
Merci de nous contacter si vous voyez une erreur. Merci de nous contacter si vous voyez une erreur.
""" """
, Bulma.p """ , Bulma.p """

View File

@ -96,7 +96,7 @@ render _ = HH.div_
render_updates render_updates
= b [ title "Automatic updates" = b [ title "Automatic updates"
, p "Update your records with a single, stupidly simple command. For example:" , p "Update your records with a single, stupidly simple command. For example:"
, expl [ Bulma.strong "wget https://netlib.re/token-update/<token>" ] , expl [ Bulma.strong "wget https://www.netlib.re/token-update/<token>" ]
, p "Every A and AAAA records have tokens for easy updates." , p "Every A and AAAA records have tokens for easy updates."
] ]
@ -108,8 +108,8 @@ render _ = HH.div_
render_contact render_contact
= b [ title "Contact" = b [ title "Contact"
, p "You have a question, you have seen a bug, you have suggestions or you just want to chat?" , p "You have a question, you have seen a bug, you have suggestions or you just want to chat?"
, p "You can contact us: netlibre@karchnu.fr" , p "You can contact me: philippe@netlib.re"
, p "For more important matter: abuse@netlib.re" , p "For legal matter: abuse@netlib.re"
] ]
render_how_and_code = Bulma.columns_ [ render_how, render_code ] render_how_and_code = Bulma.columns_ [ render_how, render_code ]

View File

@ -26,15 +26,15 @@ tokens = HH.div_
, HH.u_ [HH.text "53be0c45-61c4-4d29-8ae9-c2cc8767603d"] , HH.u_ [HH.text "53be0c45-61c4-4d29-8ae9-c2cc8767603d"]
, HH.text ") for this specific entry, then make your server regularly visit the following website." , HH.text ") for this specific entry, then make your server regularly visit the following website."
] ]
, expl [ HH.p_ [ HH.text "https://beta.netlib.re/token-update/" , expl [ HH.p_ [ HH.text "https://www.netlib.re/token-update/"
, HH.u_ [HH.text "<your-token>"] , HH.u_ [HH.text "<your-token>"]
] ]
] ]
, Bulma.p "For example: https://beta.netlib.re/token-update/53be0c45-61c4-4d29-8ae9-c2cc8767603d" , Bulma.p "For example: https://www.netlib.re/token-update/53be0c45-61c4-4d29-8ae9-c2cc8767603d"
, Bulma.hr , Bulma.hr
, Bulma.h3 "How to automate the update of my IP address?" , Bulma.h3 "How to automate the update of my IP address?"
, Bulma.p "On Linux, you can make your computer access the update link with the following command." , Bulma.p "On Linux, you can make your computer access the update link with the following command."
, expl [ Bulma.strong "wget https://beta.netlib.re/token-update/<your-token>" ] , expl [ Bulma.strong "wget https://www.netlib.re/token-update/<your-token>" ]
, Bulma.p """ , Bulma.p """
No need for a more complex program. This works just fine. No need for a more complex program. This works just fine.
And you can run this command every hour. And you can run this command every hour.
@ -482,7 +482,8 @@ srv_introduction =
] ]
] ]
website_owner_address = "netlibre AT karchnu.fr" :: String website_owner_address = "philippe AT netlib.re" :: String
website_abuse_address = "abuse AT netlib.re" :: String
legal_notice :: forall w i. HH.HTML w i legal_notice :: forall w i. HH.HTML w i
legal_notice = HH.div_ legal_notice = HH.div_
@ -492,6 +493,9 @@ legal_notice = HH.div_
, expl [ HH.p_ [ HH.text "You can contact this website's owner and publisher at: " , expl [ HH.p_ [ HH.text "You can contact this website's owner and publisher at: "
, Bulma.strong website_owner_address , Bulma.strong website_owner_address
] ]
, HH.p_ [ HH.text "For legal matter: "
, Bulma.strong website_abuse_address
]
] ]
, Bulma.strong "Website Hosting" , Bulma.strong "Website Hosting"