New version.
This commit is contained in:
parent
3926b2d837
commit
d5917b9454
@ -40,7 +40,7 @@ class UserService(BaseService):
|
||||
return model
|
||||
|
||||
async def get_home_folder(self, user_uid):
|
||||
folder = pathlib.Path(f"./home/{user_uid}")
|
||||
folder = pathlib.Path(f"./drive/{user_uid}")
|
||||
if not folder.exists():
|
||||
folder.mkdir(parents=True, exist_ok=True)
|
||||
return folder
|
||||
|
@ -287,7 +287,7 @@ class WebdavApplication(aiohttp.web.Application):
|
||||
)
|
||||
resource = request.match_info.get("filename", "/")
|
||||
lock_id = str(uuid.uuid4())
|
||||
self.locks[resource] = lock_id
|
||||
#self.locks[resource] = lock_id
|
||||
xml_response = self.generate_lock_response(lock_id)
|
||||
headers = {
|
||||
"Lock-Token": f"opaquelocktoken:{lock_id}",
|
||||
|
Loading…
Reference in New Issue
Block a user