mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 00:23:25 +02:00
Finally Control button is implemented.
Also the route /control tries to use the last used device.
This commit is contained in:
@@ -42,6 +42,10 @@ module.exports = function SettingsServiceFactory(
|
||||
applyDelta(delta)
|
||||
}
|
||||
|
||||
SettingsService.get = function (key) {
|
||||
return settings[key]
|
||||
}
|
||||
|
||||
SettingsService.set = function(key, value) {
|
||||
var delta = Object.create(null)
|
||||
delta[key] = value
|
||||
|
||||
Reference in New Issue
Block a user