change API to LCD Porto' s SpaceAPI
This commit is contained in:
@@ -31,8 +31,8 @@ if ( file_exists( $config_file ) ) {
|
||||
}
|
||||
|
||||
// Fallback defaults (only if not already defined by the config file).
|
||||
! defined( 'DSI_API_URL' ) && define( 'DSI_API_URL', 'https://nodered.jfig.net/api/v1/door-open' );
|
||||
! defined( 'DSI_CACHE_KEY' ) && define( 'DSI_CACHE_KEY', 'dsi_door_open_status' );
|
||||
! defined( 'DSI_API_URL' ) && define( 'DSI_API_URL', 'https://lcdporto.org/api/spaceapi' );
|
||||
! defined( 'DSI_CACHE_KEY' ) && define( 'DSI_CACHE_KEY', 'dsi_space_api_status' );
|
||||
! defined( 'DSI_CACHE_TTL' ) && define( 'DSI_CACHE_TTL', 10 ); // seconds
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user