kopia lustrzana https://github.com/OpenDroneMap/WebODM
Fixed typo
rodzic
b05f98464b
commit
dcc733174e
|
@ -5,7 +5,7 @@ from app.plugins import logger
|
|||
from urllib.parse import urlparse
|
||||
|
||||
VALID_IMAGE_EXTENSIONS = ['.tiff', '.tif', '.png', '.jpeg', '.jpg']
|
||||
DEFAULT_HUB_URL = 'https://hub.droneDB.app'
|
||||
DEFAULT_HUB_URL = 'https://hub.dronedb.app'
|
||||
|
||||
class DroneDB:
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ class Plugin(PluginBase):
|
|||
|
||||
form = SettingsForm(initial={'username': ds.get_string('username', default=""),
|
||||
'password': ds.get_string('password', default=""),
|
||||
'registry_url': ds.get_string('registry_url', default=DEFAULT_HUB_URL)})
|
||||
'registry_url': ds.get_string('registry_url', default="") or DEFAULT_HUB_URL})
|
||||
|
||||
return render(request, self.template_path("app.html"), {
|
||||
'title': 'DroneDB',
|
||||
|
|
Ładowanie…
Reference in New Issue