Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
e17bc345
Commit
e17bc345
authored
Feb 05, 2021
by
Dominik Hebeler
Browse files
switched production keyserver back to key.metager.de
parent
d6214e5f
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
app/Models/Key.php
View file @
e17bc345
...
...
@@ -9,16 +9,15 @@ class Key
{
public
$key
;
public
$status
;
# valid key = true, invalid key = false, unidentified key = null
//private $keyserver = "https://key.metager.de/";
private
$keyserver
=
"https://dev.key.metager.de/"
;
private
$keyserver
=
"https://key.metager.de/"
;
public
function
__construct
(
$key
,
$status
=
null
)
{
$this
->
key
=
$key
;
$this
->
status
=
$status
;
/*
if (getenv("APP_ENV") !== "production") {
if
(
getenv
(
"APP_ENV"
)
!==
"production"
)
{
$this
->
keyserver
=
"https://dev.key.metager.de/"
;
}
*/
}
}
# always returns true or false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment