Plot data in website from multiple csv file

后端 未结 1 1137
梦毁少年i
梦毁少年i 2021-01-28 14:16

I made a static website hosted on an AWS s3 bucket.

I do not know the tools and technology around web development, but I took an example of index.html co

相关标签:
1条回答
  • 2021-01-28 14:41

    Is it possible to use a filter or RegEx as "*.csv"?

    No.

    While URLs can be generated by mapping files and directories from a filesystem to URLs, a URL isn't a directory.

    There is no way to glob URLs.


    You could ensure that the server, when asked for ./ returns a list of URLs and then parse and filter it with client-side JS, and then request each of those URLs (probably using Promise.all to determine when you had a response for every one of those requests).

    You could also write server-side code to concatenate all the CSV data so you only have to make one request.

    0 讨论(0)
提交回复
热议问题