Added the capability to upload CSV files
This commit is contained in:
parent
90b02eef79
commit
d1e736d7a7
19 changed files with 678 additions and 99 deletions
|
|
@ -10,3 +10,11 @@ pub async fn styles() -> impl IntoResponse {
|
|||
fs::read_to_string("static/styles.css").unwrap(),
|
||||
)
|
||||
}
|
||||
|
||||
pub async fn csv() -> impl IntoResponse {
|
||||
(
|
||||
StatusCode::OK,
|
||||
[(CONTENT_TYPE, "application/javascript")],
|
||||
fs::read_to_string("static/csv.js").unwrap(),
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue