1
0
grahammiln acaa85083f feat: ability to serve static files (#1174)
Added the configuration key, `service.staticpath`, to serve files from the configuration path on root (/).

Serving static files allows the api service to also serve the frontend content. This is a simple option for deploying Vikunja without needing any other servers or proxies.

Running a complete instance becomes:

    VIKUNJA_SERVICE_STATICPATH=/path/to/frontend ./vikunja

Where `/path/to/frontend` is a copy of Vikunja's frontend static files.

## Implementation

Providing a path, via the configuration or environment, adds a static file middleware to serve the path's contents from root (/).

By default, the configuration path is empty and Vikunja's existing behaviour is unchanged.

Co-authored-by: Graham Miln <graham.miln@dssw.co.uk>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1174
Reviewed-by: konrad <k@knt.li>
Co-authored-by: grahammiln <grahammiln@noreply.kolaente.de>
Co-committed-by: grahammiln <grahammiln@noreply.kolaente.de>
2022-05-23 20:49:28 +00:00
2021-01-20 21:53:38 +01:00
2021-06-02 21:20:22 +00:00
2021-04-22 11:33:15 +02:00
2021-09-08 19:46:02 +02:00
2021-02-02 20:19:13 +01:00
2020-12-23 16:41:52 +01:00
2021-02-02 20:19:13 +01:00
2021-09-08 19:46:02 +02:00
2020-09-22 22:25:23 +02:00
2021-03-28 17:24:56 +02:00

Build Status License: AGPL v3 Download Docker Pulls Swagger Docs Go Report Card

Vikunja API

The Todo-app to organize your life.

Table of contents

Security Reports

If you find any security-related issues you don't want to disclose publicly, please use the contact information on our website.

Features

  • Create TODO lists with tasks
    • Reminder for tasks
  • Namespaces: A "group" which bundles multiple lists
  • Share lists and namespaces with teams and users with granular permissions
  • Plenty of details for tasks

See the features page on our website for a more exaustive list or try it on try.vikunja.io!

Docs

All docs can be found on the Vikunja home page.

Roadmap

See the roadmap (hosted on Vikunja!) for more!

Contributing

Fork -> Push -> Pull-Request. Also see the dev docs for more info.

License

This project is licensed under the AGPLv3 License. See the LICENSE file for the full license text.

Description
No description provided
Readme 63 MiB
Languages
Go 73.2%
Vue 15%
TypeScript 10.1%
SCSS 0.9%
Smarty 0.4%
Other 0.3%