Line a dripping pan with several layers of cooking foil so that to obtain a pocket, put the cod inside the pocket.
Pour maple syrup and soy sauce onto the fish, fasten the foil edges together.
Grill the fish, in 7-10 minutes open the pocket and bake the fish for a couple of minutes until golden brown. Peel the shallot and cut it into half rings.
Peel the garlic and finely chop it.
Cut dried apricots into small pieces. Slice green onion diagonally and thin.
Prepare the sauce: heat in a frying pan olive oil and butter, add onion, garlic, cedar nuts, dried apricots, stir and fry them.
When nuts become golden, add wine, season with salt, add chili pepper, make alcohol evaporate on a high heat, turn off the fire, add green onion and stir.
Put the cooked fish together with its juice onto a plate, add the sauce on the top.