You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Point the logo image URL in admin interface to the above new endpoint.
Specific for client interface
Implement a new GET /api/v2/web/logo endpoint in Jophiel. Create a new web.WebResource resource, and implement the endpoint there. Implementation is similar to Michael's endpoint above.
Point the logo image URL in client interface AND favico to the above new endpoint (apiUrl + /logo)
Remove all existing images in judgels-client, because now we fetch the image from the server.
For deployment
Add optional app_logo: config in env-example/vars.yml (commented out by default).
Description
Support custom app logo in both admin and client interfaces.
(Possible) Implementation Details
Add optional config
logo
in JudgelsAppConfiguration.Add the
logo
config tojudgels-server.yml.example
(commented out by default):Specific for admin interface
GET /logo
endpoint in Michael's IndexResource.Specific for client interface
GET /api/v2/web/logo
endpoint in Jophiel. Create a newweb.WebResource
resource, and implement the endpoint there. Implementation is similar to Michael's endpoint above./logo
)judgels-client
, because now we fetch the image from the server.For deployment
Add optional
app_logo:
config inenv-example/vars.yml
(commented out by default).Modify the ansible playbook so that if the config exists, it:
env/logo.png
tovar/conf/
logo
config tojudgels-server.yml
as explained above.The text was updated successfully, but these errors were encountered: