mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-09-04 09:13:24 +00:00
CLN - remove weather camera views
Remove the remote weather-camera experience from the phone UI, NUI test server, and weather state.\n\nDelete the associated client and server camera handlers, configuration, locale copy, and manifest entries while retaining the core weather forecast app.
This commit is contained in:
@@ -4779,28 +4779,6 @@ app.post('/api/:endpoint', (request, response) => {
|
||||
})
|
||||
return
|
||||
}
|
||||
if (endpoint === 'weather:cameras') {
|
||||
response.json({
|
||||
success: true,
|
||||
data: {
|
||||
cameras: [
|
||||
{ id: 'legion_square', region: 'los_santos' },
|
||||
{ id: 'sandy_shores', region: 'blaine_county' },
|
||||
{ id: 'cayo_airstrip', region: 'cayo_perico' },
|
||||
],
|
||||
},
|
||||
})
|
||||
return
|
||||
}
|
||||
if (endpoint === 'weather:camera-open') {
|
||||
const ids = ['legion_square', 'sandy_shores', 'cayo_airstrip']
|
||||
response.json(
|
||||
ids.includes(request.body?.id)
|
||||
? { success: true }
|
||||
: { success: false, error: 'camera_not_found' },
|
||||
)
|
||||
return
|
||||
}
|
||||
if (endpoint === 'map:getPlayerCoords') {
|
||||
response.json({
|
||||
success: true,
|
||||
|
||||
Reference in New Issue
Block a user