Michael Feng
Michael Feng
weights_header = np.ndarray( shape=(4, ), dtype='int32', buffer=weights_file.read(16)) change to: weights_header = np.ndarray( shape=(4, ), dtype='int32', buffer=weights_file.read(20))
My workaround is to use nginx router rewrite. nginx.conf: ``` location /assets/ { rewrite ^/assets/(.*)$ http://cdn.example.com/path/assets/$1 redirect; } ```
// defer f.Close() do not close the writer
/config/routes.ts ``` { name: 'low-code', path: '/low-code/:name', component: './LowCode', hideInMenu: true, }, ``` /app.tsx ``` export const layout: RunTimeLayoutConfig = ({ initialState, setInitialState }) => { return { // 自定义菜单:动态添加低代码页面...