Closed natebass closed 1 year ago
@natebass do you think it would be better to use an absolute path instead of relative for your config import? Mostly considering from a maintenance perspective.
I changed the import of the config file to use an absolute path.
@jeremiak Do you have a preference using import config from '$lib/../../config.js'
vs import config from '/config.js'
? There is the same kind of code in this file https://github.com/code4sac/sacramento-campaign-finance/blob/main/src/routes/%2Bpage.server.js#L3.
@natebass Nope, not a strongly held preference at least. Down to go with this /
- I think it's pretty clear.
Add a filter to download CSV data based on the bodyID (i.e. city or county). This allows the download button to work on the city and county page.