You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Host the server on some other place, e.g. example.com
How can we now access our myresource? We can use the /path endpoint, but we can't go to example.com/myresource.
This behavior happens because all subjects used in Atomic Data (and Atomic Server) are absolute. We could refactor atomic-server to use relative urls, so we could move our server between domains and keep our data. Let's look at some considerations:
We'll probably need a new Subject datatype (see Change subject / string type arguments #561). When serializing to a client, we should generate the actual URL. We should consider the subdomain here, too. It probably needs Store to properly serialize. This new Subject type will be anywhere.
When building indexes we should use the compressed format, too. This also means that we should create these compressed representation when building a query.
External resources pointing to the old domain will no longer work.
The text was updated successfully, but these errors were encountered:
localhost/myresource
example.com
myresource
? We can use the/path
endpoint, but we can't go toexample.com/myresource
.This behavior happens because all subjects used in Atomic Data (and Atomic Server) are absolute. We could refactor atomic-server to use relative urls, so we could move our server between domains and keep our data. Let's look at some considerations:
Store
to properly serialize. This newSubject
type will be anywhere.The text was updated successfully, but these errors were encountered: