feat: require couple binding and refine miniapp settings
Gate record features and storage entry points with invitation guidance; enforce record access in the backend. Add homepage greetings, right-swipe profile dismissal, and move the smoking switch to settings. Simplify API base configuration and remove the unused legacy tab bar component.
This commit is contained in:
@@ -17,7 +17,7 @@ function setup({preflightQuota=false,uploadQuota=false,networkRetry=false,metada
|
||||
const options={url:'https://we.sundynix.cn/api/upload',filePath:'original.jpg'};
|
||||
test('preflight checks the compressed bytes before any upload',async()=>{
|
||||
const c=setup();await c.uploadFileCompat(options);
|
||||
assert.equal(c.checks[0].url,'https://we.sundynix.cn/api/uploadPreflight');
|
||||
assert.equal(c.checks[0].url,c.API_BASE+'/uploadPreflight');
|
||||
assert.equal(c.checks[0].data.size,100);assert.equal(c.checks[0].data.md5,'a'.repeat(32));
|
||||
assert.equal(c.uploads[0].filePath,'compressed.jpg');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user