Skip to content

Commit

Permalink
Merge branch 'xMAC94x/PSA' into 'master'
Browse files Browse the repository at this point in the history
add a PSA for WGPU update

See merge request veloren/airshipper!111
  • Loading branch information
xMAC94x committed Feb 8, 2024
2 parents 1207836 + 8ac248f commit 71f3348
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions server/src/routes/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,14 @@ pub struct Announcement {
/// Public Service Announcement to be displayed in Airshipper
#[get("/announcement")]
pub async fn announcement(_db: crate::DbConnection) -> Json<Announcement> {
use chrono::TimeZone;
Json(Announcement {
message: None,
last_change: chrono::Utc::now(),
message: Some(
"Try switching the graphics mode to Auto or OpenGL, in case you experience \
issues starting Veloren on Windows."
.to_string(),
),
last_change: chrono::Utc.with_ymd_and_hms(2024, 2, 8, 8, 0, 0).unwrap(),
})
}

Expand Down

0 comments on commit 71f3348

Please sign in to comment.