RagnarokResearchLab / RagLite

Standalone client/server application for locally simulating a persistent world
Mozilla Public License 2.0
12 stars 1 forks source link

Enable virtual path aliases for the asset server API #37

Closed rdw-software closed 1 year ago

rdw-software commented 1 year ago

Goals:

The purpose of this is twofold:

  1. Avoid encoding issues (browsers use percent encoding, but I don't want to implement a percent decoder in Lua)
  2. Can use arbitrary (human readable) file data IDs instead of Windows-encoded GRF path names
rdw-software commented 1 year ago

I think the easiest way is to just use the builtin routing functionality and define wildcard patterns, then let uws handle the rest.